Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 100.5 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.0009588/0.0009589, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.52/1.52, allocations: 223.2 MB / 240.6 MB, free: 5.414 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.533/2.533, allocations: 390.5 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003345, allocations: 15.98 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.7547, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005819/0.7606, allocations: 6.057 MB / 0.9603 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004061/0.7647, allocations: 2.884 MB / 0.9632 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.7652, allocations: 25.06 kB / 0.9632 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003495/0.7656, allocations: 135.7 kB / 0.9633 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008971/0.7665, allocations: 417.2 kB / 0.9637 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.7674, allocations: 337.8 kB / 0.964 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.7688, allocations: 1.336 MB / 0.9653 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.7707, allocations: 0.9283 MB / 0.9662 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008936/0.7716, allocations: 398.8 kB / 0.9666 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.7725, allocations: 485.2 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.7726, allocations: 35.09 kB / 0.9671 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000726/0.7733, allocations: 187.5 kB / 0.9673 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.7737, allocations: 270.4 kB / 0.9676 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.7739, allocations: 177.5 kB / 0.9677 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7751, allocations: 0.906 MB / 0.9686 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.7751, allocations: 0.75 kB / 0.9686 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.407e-06/0.7752, allocations: 0 / 0.9686 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.7752, allocations: 4 kB / 0.9686 GB, free: 13.66 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002193/0.7774, allocations: 1.028 MB / 0.9696 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.7774, allocations: 9.469 kB / 0.9696 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.7791, allocations: 237.1 kB / 0.9698 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009037/0.78, allocations: 0.5307 MB / 0.9704 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.7801, allocations: 50.58 kB / 0.9704 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/0.7802, allocations: 61.59 kB / 0.9705 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.7818, allocations: 1.091 MB / 0.9715 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.7819, allocations: 6 kB / 0.9715 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.782, allocations: 26.78 kB / 0.9716 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.7821, allocations: 87.86 kB / 0.9717 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.7833, allocations: 0.7432 MB / 0.9724 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005283/0.7886, allocations: 5.898 MB / 0.9781 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.7896, allocations: 0.5512 MB / 0.9787 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.7902, allocations: 328.8 kB / 0.979 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.7902, allocations: 5.062 kB / 0.979 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7903, allocations: 45.28 kB / 0.979 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 3.586e-06/0.7903, allocations: 0 / 0.979 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004035/0.7943, allocations: 1.994 MB / 0.981 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.7944, allocations: 57.91 kB / 0.981 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/0.7951, allocations: 0.5531 MB / 0.9816 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.7952, allocations: 32.2 kB / 0.9816 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.7954, allocations: 420.4 kB / 0.982 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.7956, allocations: 171.8 kB / 0.9822 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.7956, allocations: 14.78 kB / 0.9822 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.7958, allocations: 374.1 kB / 0.9825 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.7962, allocations: 278.4 kB / 0.9828 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.7967, allocations: 489 kB / 0.9833 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.7972, allocations: 357.8 kB / 0.9836 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7972, allocations: 0 / 0.9836 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001724/0.799, allocations: 1.079 MB / 0.9847 GB, free: 188 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.799, allocations: 8.875 kB / 0.9847 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.799, allocations: 8 kB / 0.9847 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/0.7999, allocations: 279.2 kB / 0.985 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.8003, allocations: 127.7 kB / 0.9851 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.8062, allocations: 6.591 MB / 0.9915 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.8069, allocations: 39.97 kB / 0.9916 GB, free: 8.594 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.8069, allocations: 31.98 kB / 0.9916 GB, free: 8.562 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004038/0.8073, allocations: 253.6 kB / 0.9918 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.8074, allocations: 79.11 kB / 0.9919 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.809, allocations: 0.8847 MB / 0.9928 GB, free: 7.312 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.809, allocations: 4 kB / 0.9928 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.809, allocations: 4 kB / 0.9928 GB, free: 7.305 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.8091, allocations: 4 kB / 0.9928 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.8116, allocations: 1.728 MB / 0.9945 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8116, allocations: 0 / 0.9945 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.8119, allocations: 63.89 kB / 0.9945 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007152/0.8126, allocations: 259.4 kB / 0.9948 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.8127, allocations: 16 kB / 0.9948 GB, free: 5.141 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/0.8184, allocations: 6.587 MB / 1.001 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8184, allocations: 0 / 1.001 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.8199, allocations: 0.9874 MB / 1.002 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.8203, allocations: 192.2 kB / 1.002 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.955e-05/0.8204, allocations: 15.95 kB / 1.002 GB, free: 12.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.8208, allocations: 31.95 kB / 1.002 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.8209, allocations: 43.89 kB / 1.002 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.8209, allocations: 12 kB / 1.002 GB, free: 12.67 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004299/0.8213, allocations: 387.1 kB / 1.003 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8213, allocations: 0 / 1.003 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008591/0.8222, allocations: 228 kB / 1.003 GB, free: 12.08 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.8224, allocations: 111.6 kB / 1.003 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.8243, allocations: 1.26 MB / 1.004 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.8243, allocations: 4 kB / 1.004 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.8254, allocations: 0.9013 MB / 1.005 GB, free: 9.699 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.8264, allocations: 211 kB / 1.005 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.8286, allocations: 1.659 MB / 1.007 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.8291, allocations: 1.012 MB / 1.008 GB, free: 6.746 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.8293, allocations: 51.44 kB / 1.008 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/0.8293, allocations: 3.938 kB / 1.008 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of Templates: time 0.02325/0.8525, allocations: 20.77 MB / 1.028 GB, free: 1.965 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_RCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RCalcHelperMain.o] Error 1