Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.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_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 92.64 kB / 17.95 MB, free: 5.344 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.002294/0.002294, allocations: 178.8 kB / 18.86 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.4 MB / 225 MB, free: 12.94 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005516, allocations: 12 kB / 282 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 47.58 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01565/0.1574, allocations: 13.6 MB / 343.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.1684, allocations: 3.868 MB / 347.1 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003669/0.1721, allocations: 83.75 kB / 347.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.1754, allocations: 0.8165 MB / 348 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008025/0.1834, allocations: 1.575 MB / 349.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00415/0.1876, allocations: 0.998 MB / 350.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.1988, allocations: 6.678 MB / 357.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02719/0.2261, allocations: 14.22 MB / 371.5 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005369/0.2315, allocations: 2.506 MB / 374 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006455/0.238, allocations: 3.186 MB / 377.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.2394, allocations: 392 kB / 377.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.2431, allocations: 0.5662 MB / 378.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.2447, allocations: 1.261 MB / 379.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3095/0.5542, allocations: 3.06 MB / 382.4 MB, free: 22.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01634/0.5706, allocations: 10.31 MB / 392.7 MB, free: 20.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5706, allocations: 1.188 kB / 392.7 MB, free: 20.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5707, allocations: 0 / 392.7 MB, free: 20.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005157/0.5712, allocations: 1.375 kB / 392.7 MB, free: 20.5 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02692/0.5981, allocations: 6.909 MB / 399.6 MB, free: 17.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.5982, allocations: 8.812 kB / 399.6 MB, free: 17.01 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03385/0.632, allocations: 5.096 MB / 404.7 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.6452, allocations: 3.571 MB / 408.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006252/0.6459, allocations: 0.5058 MB / 408.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004721/0.6506, allocations: 0.6596 MB / 409.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.6842, allocations: 10.49 MB / 420 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002993/0.6845, allocations: 6.531 kB / 420 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.6869, allocations: 289.5 kB / 420.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003501/0.6873, allocations: 390.6 kB / 420.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/0.7091, allocations: 9.637 MB / 430.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08665/0.7958, allocations: 31.97 MB / 462.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02487/0.8208, allocations: 22.89 MB / 485.1 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004398/0.8252, allocations: 1.929 MB / 487.1 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01624/0.8415, allocations: 6.246 MB / 493.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.66e-05/0.8416, allocations: 52 kB / 493.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 7.213e-06/0.8417, allocations: 0 / 493.4 MB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.00824/0.8499, allocations: 3.204 MB / 496.6 MB, free: 7.227 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.85, allocations: 90.55 kB / 496.7 MB, free: 7.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007756/0.8578, allocations: 2.615 MB / 499.3 MB, free: 4.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003227/0.8582, allocations: 53.7 kB / 499.3 MB, free: 4.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003341/0.8615, allocations: 3.114 MB / 0.4907 GB, free: 1.281 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.8626, allocations: 0.5482 MB / 0.4912 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.8637, allocations: 314.1 kB / 0.4915 GB, free: 436 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8639, allocations: 301.1 kB / 0.4918 GB, free: 132 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/0.8674, allocations: 1.471 MB / 0.4932 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005373/0.8728, allocations: 3.258 MB / 0.4964 GB, free: 10.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008192/0.881, allocations: 4.827 MB / 0.5011 GB, free: 5.148 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001038/0.8811, allocations: 16 kB / 0.5011 GB, free: 5.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01292/0.8941, allocations: 5.09 MB / 0.5061 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.8942, allocations: 32 kB / 0.5061 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001961/0.8944, allocations: 60 kB / 0.5062 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.8956, allocations: 339.2 kB / 0.5065 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003621/0.8992, allocations: 0.8805 MB / 0.5074 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/0.9053, allocations: 4.643 MB / 0.5119 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/0.9104, allocations: 0.5378 MB / 0.5124 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.9115, allocations: 211.5 kB / 0.5126 GB, free: 9.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007922/0.9194, allocations: 2.328 MB / 0.5149 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009998/0.9204, allocations: 225.1 kB / 0.5151 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/0.9261, allocations: 2.33 MB / 0.5174 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/0.9262, allocations: 19.94 kB / 0.5174 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/0.9262, allocations: 4 kB / 0.5174 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/0.9263, allocations: 11.97 kB / 0.5174 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.9443, allocations: 5.33 MB / 0.5226 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.9444, allocations: 4 kB / 0.5226 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.946, allocations: 254.3 kB / 0.5229 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.9471, allocations: 265.8 kB / 0.5231 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003941/0.9475, allocations: 28 kB / 0.5232 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007126/0.9546, allocations: 4.52 MB / 0.5276 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.9547, allocations: 11.64 kB / 0.5276 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.9621, allocations: 3.303 MB / 0.5308 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/0.964, allocations: 0.4977 MB / 0.5313 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009464/0.965, allocations: 28 kB / 0.5313 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/0.967, allocations: 91.91 kB / 0.5314 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003398/0.9673, allocations: 109.3 kB / 0.5315 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.9675, allocations: 44 kB / 0.5316 GB, free: 5.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004971/0.9725, allocations: 1.722 MB / 0.5332 GB, free: 4.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.9725, allocations: 3.938 kB / 0.5332 GB, free: 4.176 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008191/0.9807, allocations: 1.519 MB / 0.5347 GB, free: 2.648 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008365/0.9816, allocations: 171.8 kB / 0.5349 GB, free: 2.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.3882/1.37, allocations: 3.517 MB / 0.5383 GB, free: 144.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.37, allocations: 0.625 kB / 0.5383 GB, free: 144.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002931/1.373, allocations: 1.254 MB / 0.5395 GB, free: 144.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/1.377, allocations: 467.8 kB / 0.54 GB, free: 144.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02961/1.407, allocations: 12.67 MB / 0.5524 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/1.411, allocations: 4.075 MB / 0.5563 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.413, allocations: 229.7 kB / 0.5566 GB, free: 138 MB / 446.1 MB Notification: Performance of SimCode: time 2.064e-06/1.413, allocations: 0 / 0.5566 GB, free: 138 MB / 446.1 MB Notification: Performance of Templates: time 0.2099/1.622, allocations: 129.7 MB / 0.6832 GB, free: 14.19 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoadCalcHelperMain.o] Error 1