Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 93.66 kB / 16.95 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 182 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 4 kB / 301.5 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 50.42 MB / 351.9 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00622/0.1482, allocations: 4.779 MB / 356.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.1525, allocations: 1.64 MB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000398/0.153, allocations: 20 kB / 358.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006415/0.1536, allocations: 194.9 kB / 358.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.1552, allocations: 0.6177 MB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.1558, allocations: 231.7 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008261/0.1566, allocations: 0.7315 MB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002995/0.1596, allocations: 1.478 MB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.1601, allocations: 294.8 kB / 361.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.1607, allocations: 414.3 kB / 362.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.041e-05/0.1608, allocations: 39.94 kB / 362.3 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005799/0.1614, allocations: 187.9 kB / 362.5 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1615, allocations: 139.4 kB / 362.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1617, allocations: 161.3 kB / 362.8 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1628, allocations: 0.8959 MB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1628, allocations: 0 / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1628, allocations: 0 / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.1628, allocations: 0 / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003015/0.1659, allocations: 1.198 MB / 364.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1659, allocations: 12.03 kB / 364.9 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.1703, allocations: 0.6547 MB / 365.5 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.1714, allocations: 412.2 kB / 365.9 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.1715, allocations: 74 kB / 366 MB, free: 5.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.1717, allocations: 99.95 kB / 366.1 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.1737, allocations: 0.9781 MB / 367.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.1738, allocations: 7.906 kB / 367.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.161e-05/0.1739, allocations: 40 kB / 367.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/0.1739, allocations: 24 kB / 367.1 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.1756, allocations: 0.9291 MB / 368.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2765/0.4521, allocations: 3.372 MB / 371.4 MB, free: 23.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.4548, allocations: 2.234 MB / 373.7 MB, free: 21.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006341/0.4555, allocations: 292.7 kB / 374 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.4556, allocations: 94.3 kB / 374.1 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.4557, allocations: 45.23 kB / 374.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 4.058e-06/0.4557, allocations: 1.25 kB / 374.1 MB, free: 21.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001752/0.4574, allocations: 0.7269 MB / 374.8 MB, free: 21.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/0.4575, allocations: 110.8 kB / 374.9 MB, free: 21.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/0.4579, allocations: 268.3 kB / 375.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.458, allocations: 35.36 kB / 375.2 MB, free: 21.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.4583, allocations: 383.7 kB / 375.6 MB, free: 20.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.4585, allocations: 229.5 kB / 375.8 MB, free: 20.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.4585, allocations: 14.44 kB / 375.8 MB, free: 20.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4586, allocations: 351.3 kB / 376.2 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/0.4591, allocations: 227.2 kB / 376.4 MB, free: 20.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.4597, allocations: 435 kB / 376.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.4603, allocations: 291.1 kB / 377.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.4603, allocations: 2.75 kB / 377.1 MB, free: 19.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00132/0.4616, allocations: 0.7518 MB / 377.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4616, allocations: 9.094 kB / 377.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.4617, allocations: 6.875 kB / 377.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.4617, allocations: 14.94 kB / 377.9 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.4624, allocations: 193.3 kB / 378.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.4624, allocations: 14.88 kB / 378.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.4628, allocations: 84.64 kB / 378.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.4629, allocations: 31.84 kB / 378.2 MB, free: 19.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.4632, allocations: 223.1 kB / 378.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.4634, allocations: 40.8 kB / 378.5 MB, free: 19.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.4646, allocations: 0.6623 MB / 379.1 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4646, allocations: 8.703 kB / 379.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4646, allocations: 1.25 kB / 379.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4646, allocations: 3.328 kB / 379.2 MB, free: 18.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.4672, allocations: 1.488 MB / 380.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.4672, allocations: 1.25 kB / 380.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005623/0.4678, allocations: 148 kB / 380.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.4678, allocations: 3.438 kB / 380.8 MB, free: 18.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.4679, allocations: 17.7 kB / 380.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.4679, allocations: 4.547 kB / 380.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4679, allocations: 1.406 kB / 380.8 MB, free: 18.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.4695, allocations: 1.128 MB / 381.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4696, allocations: 129.3 kB / 382.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.4697, allocations: 17.2 kB / 382.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.47, allocations: 27.59 kB / 382.1 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.4701, allocations: 41 kB / 382.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.4702, allocations: 19.89 kB / 382.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.4704, allocations: 186.2 kB / 382.4 MB, free: 17.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4704, allocations: 0 / 382.4 MB, free: 17.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008671/0.4712, allocations: 231 kB / 382.6 MB, free: 17.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002531/0.4715, allocations: 141.8 kB / 382.7 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.4726, allocations: 0.6145 MB / 383.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4727, allocations: 0 / 383.3 MB, free: 16.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004917/0.4732, allocations: 310.3 kB / 383.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.4737, allocations: 43.8 kB / 383.7 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.476, allocations: 1.617 MB / 385.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.4765, allocations: 0.9009 MB / 386.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.4767, allocations: 56.05 kB / 386.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4767, allocations: 0 / 386.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01403/0.4907, allocations: 7.142 MB / 393.4 MB, free: 12.74 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.TransformerCalcHelperMain.o] Error 1