Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009174/0.0009174, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.005555/0.005555, allocations: 170.5 kB / 16.27 MB, free: 6.652 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.319/1.319, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 270.4 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9442/0.9442, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004892, allocations: 13 kB / 0.5988 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 88.55 MB / 0.6853 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03259/0.2017, allocations: 31.53 MB / 0.716 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01655/0.2183, allocations: 10.16 MB / 0.726 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003059/0.2214, allocations: 131.2 kB / 0.7261 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2237, allocations: 0.6279 MB / 0.7267 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.2292, allocations: 1.743 MB / 0.7284 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005132/0.2343, allocations: 1.756 MB / 0.7301 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01202/0.2463, allocations: 10.58 MB / 0.7404 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.2666, allocations: 12.08 MB / 0.7522 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004757/0.2714, allocations: 2.237 MB / 0.7544 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/0.2765, allocations: 2.962 MB / 0.7573 GB, free: 4.93 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00136/0.2779, allocations: 268 kB / 0.7576 GB, free: 4.668 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004313/0.2822, allocations: 1.704 MB / 0.7592 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004124/0.2864, allocations: 2.054 MB / 0.7612 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.3935/0.6799, allocations: 2.34 MB / 0.7635 GB, free: 27.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.6937, allocations: 9.653 MB / 0.7729 GB, free: 27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6937, allocations: 1.344 kB / 0.7729 GB, free: 27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.514e-06/0.6937, allocations: 3.75 kB / 0.773 GB, free: 27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.00032/0.6941, allocations: 0 / 0.773 GB, free: 27 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01165/0.7057, allocations: 4.013 MB / 0.7769 GB, free: 25.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.7058, allocations: 15.25 kB / 0.7769 GB, free: 25.2 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002434/0.7082, allocations: 0.6835 MB / 0.7776 GB, free: 25.13 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006963/0.7152, allocations: 0.9513 MB / 0.7785 GB, free: 24.88 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007115/0.7223, allocations: 2.86 MB / 0.7813 GB, free: 24.26 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.7227, allocations: 351 kB / 0.7816 GB, free: 24.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001652/0.7243, allocations: 463.1 kB / 0.7821 GB, free: 24.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.74, allocations: 7.663 MB / 0.7895 GB, free: 23.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.7402, allocations: 34.56 kB / 0.7896 GB, free: 23.21 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005792/0.7408, allocations: 202.4 kB / 0.7898 GB, free: 23.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004357/0.7413, allocations: 312.2 kB / 0.7901 GB, free: 23.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/0.7527, allocations: 5.709 MB / 0.7956 GB, free: 23.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03695/0.7897, allocations: 35.15 MB / 0.83 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.7922, allocations: 2.147 MB / 0.8321 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.7937, allocations: 1.26 MB / 0.8333 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.904e-05/0.7938, allocations: 17.56 kB / 0.8333 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.7938, allocations: 52.55 kB / 0.8334 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.457e-06/0.7938, allocations: 0 / 0.8334 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01336/0.8072, allocations: 7.12 MB / 0.8403 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.8073, allocations: 64.16 kB / 0.8404 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.8092, allocations: 1.488 MB / 0.8418 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.8094, allocations: 45.67 kB / 0.8419 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/0.8107, allocations: 2.008 MB / 0.8438 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.8111, allocations: 486.9 kB / 0.8443 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.8112, allocations: 147.6 kB / 0.8444 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8114, allocations: 309 kB / 0.8447 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.8125, allocations: 0.9061 MB / 0.8456 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.8142, allocations: 1.601 MB / 0.8472 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/0.8173, allocations: 2.73 MB / 0.8498 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.8173, allocations: 6.281 kB / 0.8498 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005512/0.8228, allocations: 3.533 MB / 0.8533 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.8229, allocations: 15.09 kB / 0.8533 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.8229, allocations: 20 kB / 0.8533 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.8254, allocations: 0.9065 MB / 0.8542 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.8266, allocations: 350.4 kB / 0.8545 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01951/0.8461, allocations: 21.24 MB / 0.8753 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/0.8479, allocations: 104 kB / 0.8754 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.8481, allocations: 84 kB / 0.8755 GB, free: 1.43 MB / 0.5919 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003402/0.8515, allocations: 1.605 MB / 0.877 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.8519, allocations: 209.5 kB / 0.8772 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/0.8572, allocations: 2.995 MB / 0.8802 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.8572, allocations: 12 kB / 0.8802 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.8572, allocations: 8.281 kB / 0.8802 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.8573, allocations: 11.97 kB / 0.8802 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.8691, allocations: 7.335 MB / 0.8874 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8691, allocations: 8 kB / 0.8874 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007862/0.8699, allocations: 177 kB / 0.8875 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.8723, allocations: 0.8217 MB / 0.8883 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.8724, allocations: 32 kB / 0.8884 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.8913, allocations: 20.31 MB / 0.9082 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.8914, allocations: 9.594 kB / 0.9082 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005927/0.8973, allocations: 3.026 MB / 0.9112 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.8984, allocations: 462.4 kB / 0.9116 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/0.8987, allocations: 31.98 kB / 0.9116 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/0.8995, allocations: 67.92 kB / 0.9117 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/0.8999, allocations: 126.6 kB / 0.9118 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.635e-05/0.9, allocations: 40 kB / 0.9119 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001374/0.9014, allocations: 0.9815 MB / 0.9128 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9014, allocations: 0 / 0.9128 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003301/0.9047, allocations: 0.7812 MB / 0.9136 GB, free: 8.617 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005314/0.9101, allocations: 3.622 MB / 0.9171 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006092/0.9162, allocations: 4.025 MB / 0.9211 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.9162, allocations: 0 / 0.9211 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003742/0.9199, allocations: 2.744 MB / 0.9237 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004284/0.9242, allocations: 0.6783 MB / 0.9244 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03969/0.9639, allocations: 25.75 MB / 0.9495 GB, free: 2.008 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003321/0.9673, allocations: 3.117 MB / 0.9526 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001418/0.9687, allocations: 457.9 kB / 0.953 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/0.9705, allocations: 1.538 MB / 0.9545 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of SimCode: time 1.954e-06/0.9705, allocations: 0 / 0.9545 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08544/1.056, allocations: 58.22 MB / 1.011 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/1.056, allocations: 262.3 kB / 1.012 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.753/3.809, allocations: 0 / 1.012 GB, free: 3.211 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)