Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.0007917, allocations: 101.9 kB / 15.71 MB, free: 460 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.0009864/0.0009867, allocations: 178.8 kB / 16.58 MB, free: 6.137 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.504/1.504, allocations: 223.3 MB / 240.6 MB, free: 5.348 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.747/2.747, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004867/0.0004868, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8691, allocations: 142.3 MB / 0.9544 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.0376/0.9067, allocations: 34.25 MB / 0.9879 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02184/0.9286, allocations: 12.43 MB / 1 GB, free: 1.348 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/0.9332, allocations: 151.1 kB / 1 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.9361, allocations: 0.7402 MB / 1.001 GB, free: 464 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007282/0.9434, allocations: 2.06 MB / 1.003 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/0.9493, allocations: 1.623 MB / 1.004 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01469/0.964, allocations: 10.64 MB / 1.015 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02277/0.9868, allocations: 11.45 MB / 1.026 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007408/0.9943, allocations: 2.969 MB / 1.029 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008315/1.003, allocations: 3.773 MB / 1.033 GB, free: 15.8 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001786/1.004, allocations: 320 kB / 1.033 GB, free: 15.48 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/1.008, allocations: 0.7766 MB / 1.034 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.003942/1.012, allocations: 2.451 MB / 1.036 GB, free: 12.25 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002994/1.015, allocations: 1.175 MB / 1.037 GB, free: 11.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0124/1.028, allocations: 9.738 MB / 1.047 GB, free: 1.305 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.028, allocations: 0 / 1.047 GB, free: 1.305 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.457e-06/1.028, allocations: 0 / 1.047 GB, free: 1.305 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003146/1.028, allocations: 0 / 1.047 GB, free: 1.305 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01301/1.041, allocations: 5.204 MB / 1.052 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.041, allocations: 8.031 kB / 1.052 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0092/1.05, allocations: 1.304 MB / 1.053 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008387/1.059, allocations: 3.472 MB / 1.056 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003866/1.059, allocations: 382.1 kB / 1.057 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/1.061, allocations: 0.4959 MB / 1.057 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02286/1.084, allocations: 8.843 MB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001669/1.084, allocations: 27.62 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007194/1.085, allocations: 223.9 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/1.087, allocations: 0.6381 MB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/1.103, allocations: 6.975 MB / 1.074 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05566/1.158, allocations: 40.41 MB / 1.113 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004523/1.163, allocations: 2.887 MB / 1.116 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/1.167, allocations: 2.655 MB / 1.119 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/1.167, allocations: 30.08 kB / 1.119 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.167, allocations: 64.66 kB / 1.119 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=265): time 4.188e-06/1.167, allocations: 0 / 1.119 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=424): time 0.2832/1.45, allocations: 77.41 MB / 1.194 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/1.45, allocations: 94.73 kB / 1.194 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003245/1.454, allocations: 2.332 MB / 1.197 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000811/1.455, allocations: 97.7 kB / 1.197 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.456, allocations: 2.333 MB / 1.199 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001872/1.458, allocations: 1.444 MB / 1.2 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/1.458, allocations: 84 kB / 1.2 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002751/1.459, allocations: 491.2 kB / 1.201 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004975/1.464, allocations: 2.984 MB / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009082/1.473, allocations: 3.82 MB / 1.208 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009079/1.482, allocations: 3.552 MB / 1.211 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.522e-05/1.482, allocations: 8 kB / 1.211 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.04339/1.525, allocations: 12.49 MB / 1.223 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/1.525, allocations: 16 kB / 1.223 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/1.525, allocations: 27.98 kB / 1.223 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02172/1.547, allocations: 6.013 MB / 1.229 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/1.55, allocations: 495.2 kB / 1.23 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8018/2.351, allocations: 67.19 MB / 1.295 GB, free: 247.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003967/2.355, allocations: 214.2 kB / 1.295 GB, free: 247.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005814/2.356, allocations: 155.3 kB / 1.296 GB, free: 247.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004039/2.36, allocations: 1.999 MB / 1.298 GB, free: 246.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/2.361, allocations: 392.5 kB / 1.298 GB, free: 246.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0267/2.388, allocations: 12.18 MB / 1.31 GB, free: 241.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/2.388, allocations: 40.06 kB / 1.31 GB, free: 241.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001989/2.388, allocations: 48.28 kB / 1.31 GB, free: 241.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8e-05/2.388, allocations: 21.19 kB / 1.31 GB, free: 241.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03413/2.423, allocations: 19.12 MB / 1.329 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.65e-05/2.423, allocations: 7.344 kB / 1.329 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/2.424, allocations: 290.8 kB / 1.329 GB, free: 232.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01889/2.443, allocations: 5.566 MB / 1.334 GB, free: 228.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001236/2.444, allocations: 80 kB / 1.334 GB, free: 228.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06334/2.508, allocations: 64.82 MB / 1.398 GB, free: 160.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/2.508, allocations: 11.94 kB / 1.398 GB, free: 160.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02625/2.534, allocations: 15.56 MB / 1.413 GB, free: 145.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003169/2.537, allocations: 1.043 MB / 1.414 GB, free: 144.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006712/2.538, allocations: 87.94 kB / 1.414 GB, free: 144 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/2.54, allocations: 219.7 kB / 1.414 GB, free: 143.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/2.542, allocations: 394.4 kB / 1.415 GB, free: 143.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/2.542, allocations: 108 kB / 1.415 GB, free: 143.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002187/2.544, allocations: 1.537 MB / 1.416 GB, free: 141.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/2.544, allocations: 0 / 1.416 GB, free: 141.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006821/2.551, allocations: 1.859 MB / 1.418 GB, free: 139.9 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005259/2.552, allocations: 226.7 kB / 1.418 GB, free: 139.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01772/2.57, allocations: 12.18 MB / 1.43 GB, free: 127.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/2.57, allocations: 0 / 1.43 GB, free: 127.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01415/2.584, allocations: 8.372 MB / 1.438 GB, free: 118.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/2.59, allocations: 1.113 MB / 1.439 GB, free: 117.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02215/2.612, allocations: 15 MB / 1.454 GB, free: 102.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005397/2.617, allocations: 4.16 MB / 1.458 GB, free: 98.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/2.618, allocations: 195.4 kB / 1.458 GB, free: 97.98 MB / 1.014 GB Notification: Performance of SimCode: time 1.653e-06/2.618, allocations: 7.938 kB / 1.458 GB, free: 97.98 MB / 1.014 GB Notification: Performance of Templates: time 1.934/4.553, allocations: 0.7432 GB / 2.201 GB, free: 370.4 MB / 1.17 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLCCalcHelperMain.o] Error 1