Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008177/0.0008179, allocations: 92.22 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.0008652/0.0008652, allocations: 178.8 kB / 17.84 MB, free: 5.621 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.537/1.537, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002698, allocations: 4 kB / 301.5 MB, free: 6.234 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1271, allocations: 50.42 MB / 351.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01181/0.139, allocations: 11.98 MB / 363.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007665/0.1467, allocations: 3.447 MB / 367.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001783/0.1485, allocations: 91.75 kB / 367.4 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1499, allocations: 0.5473 MB / 367.9 MB, free: 3.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.1536, allocations: 1.278 MB / 369.2 MB, free: 2.402 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.1557, allocations: 0.8385 MB / 370.1 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.283/0.4387, allocations: 9 MB / 379.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0299/0.4687, allocations: 12.1 MB / 391.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006104/0.4748, allocations: 2.346 MB / 393.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005569/0.4804, allocations: 2.79 MB / 396.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.4815, allocations: 379 kB / 396.7 MB, free: 6.871 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.4838, allocations: 0.5449 MB / 397.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000865/0.4847, allocations: 1.093 MB / 398.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.4867, allocations: 1.19 MB / 399.5 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009625/0.4963, allocations: 9.985 MB / 409.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.4964, allocations: 0 / 409.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.4964, allocations: 0 / 409.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003786/0.4968, allocations: 4 kB / 409.5 MB, free: 11.01 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01992/0.5167, allocations: 6.568 MB / 416.1 MB, free: 4.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5168, allocations: 12.03 kB / 416.1 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/0.5357, allocations: 2.897 MB / 419 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.546, allocations: 3.579 MB / 422.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006598/0.5467, allocations: 484.6 kB / 423 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003184/0.5499, allocations: 0.6246 MB / 423.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.5786, allocations: 9.266 MB / 432.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003154/0.579, allocations: 11.91 kB / 432.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002063/0.5811, allocations: 265.9 kB / 433.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004236/0.5815, allocations: 328 kB / 433.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01797/0.5995, allocations: 7.898 MB / 441.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/0.6553, allocations: 28.63 MB / 470 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.6677, allocations: 11.67 MB / 481.7 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002881/0.6706, allocations: 1.616 MB / 483.3 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.671, allocations: 130.1 kB / 483.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/0.6711, allocations: 64.56 kB / 483.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 4.128e-06/0.6711, allocations: 4 kB / 483.5 MB, free: 14.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.00861/0.6797, allocations: 4.129 MB / 487.6 MB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.6798, allocations: 111 kB / 487.7 MB, free: 10.35 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.6838, allocations: 1.879 MB / 489.6 MB, free: 8.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.684, allocations: 65.7 kB / 489.7 MB, free: 8.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/0.6861, allocations: 2.539 MB / 492.2 MB, free: 5.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009739/0.6871, allocations: 0.8162 MB / 493 MB, free: 5.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.6874, allocations: 64 kB / 493.1 MB, free: 4.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.6877, allocations: 457.3 kB / 493.6 MB, free: 4.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.6904, allocations: 1.393 MB / 494.9 MB, free: 3.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/0.6939, allocations: 2.58 MB / 497.5 MB, free: 16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003168/0.6971, allocations: 1.988 MB / 499.5 MB, free: 14.01 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-05/0.6971, allocations: 12 kB / 499.5 MB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008061/0.7052, allocations: 4.483 MB / 0.4922 GB, free: 9.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.7053, allocations: 26.84 kB / 0.4922 GB, free: 9.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.088e-05/0.7054, allocations: 36 kB / 0.4923 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008821/0.7062, allocations: 325.8 kB / 0.4926 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.7091, allocations: 0.7761 MB / 0.4933 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005507/0.7146, allocations: 4.598 MB / 0.4978 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.7174, allocations: 416 kB / 0.4982 GB, free: 3.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005822/0.718, allocations: 160 kB / 0.4984 GB, free: 2.914 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005032/0.723, allocations: 2.198 MB / 0.5005 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/0.7236, allocations: 205.4 kB / 0.5007 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.7295, allocations: 3.181 MB / 0.5038 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.7296, allocations: 24 kB / 0.5038 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.7296, allocations: 8 kB / 0.5038 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.496e-05/0.7296, allocations: 11.95 kB / 0.5039 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/0.7515, allocations: 11.76 MB / 0.5153 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/0.7516, allocations: 12 kB / 0.5153 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/0.7533, allocations: 443.2 kB / 0.5158 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007529/0.7541, allocations: 278 kB / 0.516 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002793/0.7544, allocations: 63.98 kB / 0.5161 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005896/0.7603, allocations: 4.564 MB / 0.5206 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-05/0.7604, allocations: 23.88 kB / 0.5206 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008308/0.7687, allocations: 4.964 MB / 0.5254 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.7704, allocations: 0.5406 MB / 0.526 GB, free: 5.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005674/0.771, allocations: 59.98 kB / 0.526 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.7726, allocations: 123.9 kB / 0.5261 GB, free: 5.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003941/0.773, allocations: 205.4 kB / 0.5263 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.7732, allocations: 87.92 kB / 0.5264 GB, free: 5.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002715/0.776, allocations: 1.279 MB / 0.5277 GB, free: 3.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.776, allocations: 2.734 kB / 0.5277 GB, free: 3.957 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005419/0.7814, allocations: 1.426 MB / 0.5291 GB, free: 2.523 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_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 (226): * Single equations (assignments): 224 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006145/0.782, allocations: 229.6 kB / 0.5293 GB, free: 2.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2737/1.056, allocations: 3.602 MB / 0.5328 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.219e-05/1.056, allocations: 3.438 kB / 0.5328 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004087/1.06, allocations: 1.682 MB / 0.5344 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003396/1.063, allocations: 0.5036 MB / 0.5349 GB, free: 126.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.088, allocations: 11.94 MB / 0.5466 GB, free: 120.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006782/1.095, allocations: 3.902 MB / 0.5504 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.096, allocations: 218.1 kB / 0.5506 GB, free: 119.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/1.096, allocations: 1.562 kB / 0.5506 GB, free: 119.9 MB / 446.1 MB Notification: Performance of Templates: time 0.1544/1.251, allocations: 123.2 MB / 0.6709 GB, free: 11.23 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.Polyphase.Examples.UnsymmetricalLoadCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoadCalcHelperMain.o] Error 1