Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) 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(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008487/0.0008485, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001264, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.553/1.553, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.4 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9238/0.9242, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005049/0.9293, allocations: 4.298 MB / 0.9586 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.9328, allocations: 2.339 MB / 0.9609 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003283/0.9331, allocations: 20.84 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.9334, allocations: 89.52 kB / 0.961 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007539/0.9342, allocations: 347.8 kB / 0.9613 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.9349, allocations: 299.5 kB / 0.9616 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000902/0.9358, allocations: 0.9793 MB / 0.9626 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000692/0.9365, allocations: 421.1 kB / 0.963 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003636/0.9369, allocations: 290.6 kB / 0.9633 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00042/0.9373, allocations: 325.2 kB / 0.9636 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.9373, allocations: 19.31 kB / 0.9636 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.9378, allocations: 207.2 kB / 0.9638 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.938, allocations: 153.8 kB / 0.9639 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.9381, allocations: 139.5 kB / 0.9641 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006184/0.9387, allocations: 0.6417 MB / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9387, allocations: 1.312 kB / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9387, allocations: 0 / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.9388, allocations: 0 / 0.9647 GB, free: 472 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001147/0.9399, allocations: 0.849 MB / 0.9655 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.94, allocations: 9.469 kB / 0.9655 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.9413, allocations: 196.2 kB / 0.9657 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.942, allocations: 497.3 kB / 0.9662 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.9421, allocations: 42.31 kB / 0.9662 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.9421, allocations: 41.31 kB / 0.9663 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.9434, allocations: 0.8402 MB / 0.9671 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.9435, allocations: 10.94 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.9435, allocations: 28.77 kB / 0.9671 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.9437, allocations: 66.47 kB / 0.9672 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009354/0.9446, allocations: 0.5637 MB / 0.9677 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/0.9501, allocations: 5.649 MB / 0.9733 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008723/0.951, allocations: 457 kB / 0.9737 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.9515, allocations: 227.4 kB / 0.9739 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.9515, allocations: 2.531 kB / 0.9739 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.9516, allocations: 40.53 kB / 0.9739 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.9516, allocations: 0 / 0.9739 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.003129/0.9547, allocations: 1.507 MB / 0.9754 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.9548, allocations: 54.22 kB / 0.9755 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.9554, allocations: 0.4897 MB / 0.976 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.9555, allocations: 34.55 kB / 0.976 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.9557, allocations: 371.4 kB / 0.9763 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.9559, allocations: 118.9 kB / 0.9765 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.9559, allocations: 14.56 kB / 0.9765 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.9561, allocations: 364 kB / 0.9768 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.9564, allocations: 195.8 kB / 0.977 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.9569, allocations: 442.3 kB / 0.9774 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004407/0.9574, allocations: 255.7 kB / 0.9777 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9574, allocations: 10.97 kB / 0.9777 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001491/0.9589, allocations: 0.8039 MB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.9589, allocations: 8.281 kB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.959, allocations: 8.938 kB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/0.9595, allocations: 158.3 kB / 0.9786 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.96, allocations: 122 kB / 0.9787 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004106/0.9641, allocations: 4.033 MB / 0.9827 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.9647, allocations: 37.62 kB / 0.9827 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.301e-05/0.9647, allocations: 31.42 kB / 0.9827 GB, free: 0.6602 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.9651, allocations: 217.3 kB / 0.983 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.696e-05/0.9652, allocations: 62.55 kB / 0.983 GB, free: 456 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.9663, allocations: 0.6006 MB / 0.9836 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9664, allocations: 7.219 kB / 0.9836 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.9664, allocations: 1.406 kB / 0.9836 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.9664, allocations: 9.141 kB / 0.9836 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.9684, allocations: 1.25 MB / 0.9848 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.9684, allocations: 1.125 kB / 0.9848 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.9687, allocations: 55.7 kB / 0.9849 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004228/0.9691, allocations: 143 kB / 0.985 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.9692, allocations: 12.38 kB / 0.985 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003463/0.9726, allocations: 4.022 MB / 0.989 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.9726, allocations: 3.938 kB / 0.989 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.9738, allocations: 0.7121 MB / 0.9897 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.974, allocations: 172.2 kB / 0.9898 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.9741, allocations: 8 kB / 0.9898 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.9743, allocations: 27.91 kB / 0.9899 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.9744, allocations: 35.95 kB / 0.9899 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.9744, allocations: 8 kB / 0.9899 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004283/0.9749, allocations: 338.8 kB / 0.9902 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9749, allocations: 0 / 0.9902 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007633/0.9756, allocations: 144 kB / 0.9904 GB, free: 9.328 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000175/0.9758, allocations: 107.2 kB / 0.9905 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.9773, allocations: 1.029 MB / 0.9915 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9773, allocations: 0 / 0.9915 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.9781, allocations: 0.7394 MB / 0.9922 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009369/0.9791, allocations: 188.7 kB / 0.9924 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.981, allocations: 1.284 MB / 0.9936 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.9815, allocations: 0.9059 MB / 0.9945 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.9817, allocations: 43.44 kB / 0.9946 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of SimCode: time 6.12e-07/0.9817, allocations: 4 kB / 0.9946 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of Templates: time 0.02186/1.004, allocations: 18.26 MB / 1.012 GB, free: 2.555 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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 OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ImpedancesCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ImpedancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ImpedancesCalcHelperMain.o] Error 1