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.001741/0.00174, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00204/0.00204, allocations: 194 kB / 18.72 MB, free: 4.762 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.084/2.084, allocations: 205.1 MB / 224.6 MB, free: 12.41 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.001665/0.001665, allocations: 51.92 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1631, allocations: 46.63 MB / 327.2 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01911/0.1823, allocations: 14.39 MB / 341.6 MB, free: 6.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.1959, allocations: 3.922 MB / 345.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005452/0.2016, allocations: 83.75 kB / 345.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0152/0.2168, allocations: 5.312 MB / 351 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00908/0.2259, allocations: 1.583 MB / 352.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00461/0.2305, allocations: 0.998 MB / 353.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01216/0.2427, allocations: 6.682 MB / 360.2 MB, free: 3.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02679/0.2696, allocations: 11.56 MB / 371.8 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008334/0.278, allocations: 3.158 MB / 374.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.2885, allocations: 4.021 MB / 379 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004273/0.2928, allocations: 0.6953 MB / 379.7 MB, free: 220 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3177/0.6106, allocations: 0.8696 MB / 380.5 MB, free: 25.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004544/0.6152, allocations: 1.706 MB / 382.2 MB, free: 25.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01256/0.6278, allocations: 3.562 MB / 385.8 MB, free: 24.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.6452, allocations: 10.61 MB / 396.4 MB, free: 23.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6452, allocations: 0 / 396.4 MB, free: 23.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6453, allocations: 0 / 396.4 MB, free: 23.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0005845/0.6459, allocations: 5.031 kB / 396.4 MB, free: 23.13 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.03921/0.6851, allocations: 8.33 MB / 404.7 MB, free: 17.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/0.6852, allocations: 10.22 kB / 404.7 MB, free: 17.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03386/0.719, allocations: 5.079 MB / 409.8 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/0.7327, allocations: 3.546 MB / 413.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007962/0.7335, allocations: 0.5021 MB / 413.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005941/0.7395, allocations: 0.668 MB / 414.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04124/0.7808, allocations: 10.48 MB / 425 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005257/0.7814, allocations: 8 kB / 425 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004794/0.7862, allocations: 279 kB / 425.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005608/0.7868, allocations: 390.6 kB / 425.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03065/0.8174, allocations: 9.637 MB / 435.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09348/0.911, allocations: 31.86 MB / 467.2 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02526/0.9363, allocations: 22.91 MB / 490.1 MB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004772/0.9412, allocations: 1.952 MB / 492 MB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01553/0.9568, allocations: 6.244 MB / 498.3 MB, free: 6.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.27e-05/0.9569, allocations: 52 kB / 498.3 MB, free: 6.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 6.653e-06/0.9569, allocations: 0 / 498.3 MB, free: 6.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.007874/0.9648, allocations: 3.186 MB / 0.4898 GB, free: 3.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.9649, allocations: 94.55 kB / 0.4899 GB, free: 3.484 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007973/0.9729, allocations: 2.615 MB / 0.4924 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.9732, allocations: 45.7 kB / 0.4925 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003297/0.9765, allocations: 3.113 MB / 0.4955 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007998/0.9773, allocations: 0.5508 MB / 0.496 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001512/0.9788, allocations: 0.8014 MB / 0.4968 GB, free: 12.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.979, allocations: 305.1 kB / 0.4971 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/0.9817, allocations: 1.464 MB / 0.4985 GB, free: 10.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004638/0.9864, allocations: 3.263 MB / 0.5017 GB, free: 6.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/0.9939, allocations: 4.818 MB / 0.5064 GB, free: 1.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.395e-05/0.994, allocations: 20 kB / 0.5064 GB, free: 1.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.0115/1.005, allocations: 5.091 MB / 0.5114 GB, free: 12.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.006, allocations: 32.94 kB / 0.5114 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/1.006, allocations: 60 kB / 0.5115 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/1.007, allocations: 342.5 kB / 0.5118 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.011, allocations: 0.8831 MB / 0.5127 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/1.019, allocations: 4.628 MB / 0.5172 GB, free: 6.184 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006082/1.025, allocations: 0.5412 MB / 0.5177 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.026, allocations: 216 kB / 0.5179 GB, free: 5.43 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.009318/1.036, allocations: 2.325 MB / 0.5202 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.037, allocations: 229.1 kB / 0.5204 GB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006356/1.043, allocations: 2.326 MB / 0.5227 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/1.043, allocations: 19.94 kB / 0.5227 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/1.043, allocations: 8 kB / 0.5227 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/1.043, allocations: 7.969 kB / 0.5227 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02252/1.066, allocations: 5.332 MB / 0.5279 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.257e-05/1.066, allocations: 4 kB / 0.528 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.068, allocations: 261.9 kB / 0.5282 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009109/1.069, allocations: 253.7 kB / 0.5284 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003737/1.069, allocations: 35.98 kB / 0.5285 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/1.075, allocations: 4.514 MB / 0.5329 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.075, allocations: 0 / 0.5329 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006184/1.081, allocations: 3.318 MB / 0.5361 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.083, allocations: 465.9 kB / 0.5366 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009119/1.084, allocations: 28 kB / 0.5366 GB, free: 2.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.086, allocations: 95.89 kB / 0.5367 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/1.086, allocations: 97.3 kB / 0.5368 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/1.086, allocations: 52.05 kB / 0.5368 GB, free: 1.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004664/1.091, allocations: 1.718 MB / 0.5385 GB, free: 100 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.091, allocations: 3.938 kB / 0.5385 GB, free: 96 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.3579/1.449, allocations: 1.518 MB / 0.54 GB, free: 156.9 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.00094/1.45, allocations: 168.6 kB / 0.5402 GB, free: 156.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01012/1.46, allocations: 3.514 MB / 0.5436 GB, free: 156.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.46, allocations: 0 / 0.5436 GB, free: 156.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002504/1.462, allocations: 1.264 MB / 0.5448 GB, free: 156.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.466, allocations: 463.7 kB / 0.5453 GB, free: 156.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02588/1.492, allocations: 12.61 MB / 0.5576 GB, free: 150.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004291/1.496, allocations: 4.071 MB / 0.5616 GB, free: 148.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/1.497, allocations: 232.8 kB / 0.5618 GB, free: 148.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.685e-06/1.497, allocations: 0 / 0.5618 GB, free: 148.8 MB / 446.1 MB Notification: Performance of Templates: time 0.1848/1.682, allocations: 130.5 MB / 0.6892 GB, free: 24.41 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