Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001089/0.001089, allocations: 194.5 kB / 16.14 MB, free: 6.707 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 294.6 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9121/0.9121, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 96.36 kB / 0.5946 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.98 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03301/0.1813, allocations: 33 MB / 0.7118 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.202, allocations: 14.8 MB / 0.7262 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.2056, allocations: 143.2 kB / 0.7264 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008334/0.214, allocations: 3.388 MB / 0.7297 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007528/0.2215, allocations: 2.693 MB / 0.7323 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005895/0.2274, allocations: 2.133 MB / 0.7344 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.2404, allocations: 12.2 MB / 0.7463 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.2547, allocations: 10.35 MB / 0.7564 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00783/0.2626, allocations: 3.434 MB / 0.7598 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.2691, allocations: 4.1 MB / 0.7638 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.2707, allocations: 488 kB / 0.7642 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003919/0.2746, allocations: 1.736 MB / 0.7659 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003044/0.2776, allocations: 2.595 MB / 0.7685 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004473/0.2821, allocations: 3.107 MB / 0.7715 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.6292/0.9113, allocations: 11 MB / 0.7822 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.9113, allocations: 2.562 kB / 0.7822 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9114, allocations: 0 / 0.7822 GB, free: 35.34 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.0003967/0.9118, allocations: 0 / 0.7822 GB, free: 35.34 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01844/0.9302, allocations: 5.98 MB / 0.7881 GB, free: 33.14 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9303, allocations: 10.84 kB / 0.7881 GB, free: 33.14 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001958/0.9322, allocations: 0.7267 MB / 0.7888 GB, free: 33.07 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007045/0.9393, allocations: 1.135 MB / 0.7899 GB, free: 32.78 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008215/0.9475, allocations: 3.325 MB / 0.7932 GB, free: 32.03 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002767/0.9478, allocations: 378.5 kB / 0.7935 GB, free: 32.02 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.9498, allocations: 492.9 kB / 0.794 GB, free: 32.02 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02092/0.9707, allocations: 8.003 MB / 0.8018 GB, free: 31.16 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/0.9709, allocations: 27.95 kB / 0.8018 GB, free: 31.16 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006643/0.9716, allocations: 217 kB / 0.802 GB, free: 31.16 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009991/0.9726, allocations: 443.3 kB / 0.8025 GB, free: 31.14 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.9841, allocations: 6.086 MB / 0.8084 GB, free: 31.09 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04152/1.026, allocations: 35.15 MB / 0.8427 GB, free: 18.85 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/1.028, allocations: 2.025 MB / 0.8447 GB, free: 17.78 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/1.031, allocations: 1.868 MB / 0.8465 GB, free: 16.81 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/1.031, allocations: 21.75 kB / 0.8466 GB, free: 16.81 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.99e-05/1.031, allocations: 60.47 kB / 0.8466 GB, free: 16.75 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=171): time 4.168e-06/1.031, allocations: 0 / 0.8466 GB, free: 16.75 MB / 0.5763 GB Notification: Performance of matching and sorting (n=276): time 0.1403/1.171, allocations: 38.88 MB / 0.8846 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/1.171, allocations: 81.58 kB / 0.8847 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/1.175, allocations: 2.286 MB / 0.8869 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003224/1.175, allocations: 73.7 kB / 0.887 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001524/1.177, allocations: 2.275 MB / 0.8892 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008796/1.178, allocations: 0.927 MB / 0.8901 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009675/1.178, allocations: 0.51 MB / 0.8906 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.95e-05/1.179, allocations: 305.1 kB / 0.8909 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/1.181, allocations: 1.97 MB / 0.8928 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003194/1.185, allocations: 2.6 MB / 0.8953 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006328/1.191, allocations: 4.94 MB / 0.9002 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/1.191, allocations: 8 kB / 0.9002 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01429/1.205, allocations: 7.751 MB / 0.9077 GB, free: 9.766 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.205, allocations: 16 kB / 0.9078 GB, free: 9.75 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/1.205, allocations: 18.19 kB / 0.9078 GB, free: 9.734 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00952/1.215, allocations: 3.213 MB / 0.9109 GB, free: 6.508 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.217, allocations: 400.9 kB / 0.9113 GB, free: 6.141 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/1.258, allocations: 31.08 MB / 0.9416 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003538/1.262, allocations: 163.8 kB / 0.9418 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/1.262, allocations: 108 kB / 0.9419 GB, free: 6.094 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00392/1.266, allocations: 1.799 MB / 0.9437 GB, free: 4.309 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008165/1.267, allocations: 336 kB / 0.944 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.28, allocations: 7.36 MB / 0.9512 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.28, allocations: 28 kB / 0.9512 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.514e-05/1.28, allocations: 28 kB / 0.9512 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/1.28, allocations: 11.95 kB / 0.9512 GB, free: 12.58 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02219/1.303, allocations: 12.94 MB / 0.9639 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.303, allocations: 4.25 kB / 0.9639 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009434/1.304, allocations: 234.5 kB / 0.9641 GB, free: 15.45 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008305/1.312, allocations: 2.859 MB / 0.9669 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004156/1.312, allocations: 56 kB / 0.9669 GB, free: 12.52 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03838/1.351, allocations: 29.88 MB / 0.9961 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/1.351, allocations: 19.39 kB / 0.9961 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.363, allocations: 6.884 MB / 1.003 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.365, allocations: 0.7859 MB / 1.004 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009997/1.366, allocations: 59.94 kB / 1.004 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002444/1.369, allocations: 163.8 kB / 1.004 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009864/1.37, allocations: 252.6 kB / 1.004 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.37, allocations: 76 kB / 1.004 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002246/1.372, allocations: 1.525 MB / 1.006 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/1.372, allocations: 0 / 1.006 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004938/1.377, allocations: 1.367 MB / 1.007 GB, free: 2.672 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01292/1.39, allocations: 7.511 MB / 1.014 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.402, allocations: 6.904 MB / 1.021 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.402, allocations: 0 / 1.021 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008065/1.41, allocations: 4.403 MB / 1.025 GB, free: 15.69 MB / 0.7482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/1.416, allocations: 1.025 MB / 1.026 GB, free: 14.69 MB / 0.7482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4605/1.877, allocations: 46.05 MB / 1.071 GB, free: 224.2 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004854/1.882, allocations: 3.642 MB / 1.075 GB, free: 223.4 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002743/1.885, allocations: 0.5571 MB / 1.075 GB, free: 223.3 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/1.886, allocations: 1.968 MB / 1.077 GB, free: 223.3 MB / 0.7638 GB Notification: Performance of SimCode: time 1.083e-06/1.886, allocations: 1.094 kB / 1.077 GB, free: 223.3 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/2.031, allocations: 110.1 MB / 1.185 GB, free: 144.9 MB / 0.7638 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/2.031, allocations: 263.2 kB / 1.185 GB, free: 144.7 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.98/6.011, allocations: 0 / 1.185 GB, free: 144.7 MB / 0.7638 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)