Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.005049/0.005049, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001351/0.001351, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.214/1.214, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6349/0.6349, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 56.78 kB / 493 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1382, allocations: 76.2 MB / 0.5559 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01928/0.1575, allocations: 17.05 MB / 0.5725 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009821/0.1673, allocations: 5.865 MB / 0.5782 GB, free: 3.707 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.1688, allocations: 43.88 kB / 0.5783 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.1721, allocations: 1.206 MB / 0.5795 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1742, allocations: 0.7863 MB / 0.5802 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.1771, allocations: 1.23 MB / 0.5814 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2412/0.4184, allocations: 6.474 MB / 0.5878 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01125/0.4297, allocations: 7.622 MB / 0.5952 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.4329, allocations: 1.614 MB / 0.5968 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.4374, allocations: 2.342 MB / 0.5991 GB, free: 13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.4393, allocations: 317.8 kB / 0.5994 GB, free: 13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.4427, allocations: 0.8518 MB / 0.6002 GB, free: 13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004143/0.4469, allocations: 1.592 MB / 0.6017 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006125/0.453, allocations: 1.62 MB / 0.6033 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.462, allocations: 6.274 MB / 0.6095 GB, free: 8.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.462, allocations: 5.156 kB / 0.6095 GB, free: 8.941 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.462, allocations: 0 / 0.6095 GB, free: 8.941 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.4622, allocations: 0 / 0.6095 GB, free: 8.941 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.006031/0.4682, allocations: 3.076 MB / 0.6125 GB, free: 6.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4683, allocations: 11.34 kB / 0.6125 GB, free: 6.914 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005721/0.4688, allocations: 463.7 kB / 0.6129 GB, free: 6.594 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.4735, allocations: 1.118 MB / 0.614 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.4762, allocations: 1.605 MB / 0.6156 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.4763, allocations: 227 kB / 0.6158 GB, free: 5.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/0.4768, allocations: 292.5 kB / 0.6161 GB, free: 4.926 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006556/0.4834, allocations: 5.31 MB / 0.6213 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.4834, allocations: 0 / 0.6213 GB, free: 1.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002965/0.4837, allocations: 126 kB / 0.6214 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001468/0.4839, allocations: 201.1 kB / 0.6216 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006592/0.4905, allocations: 4.768 MB / 0.6262 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0247/0.5152, allocations: 23.17 MB / 0.6489 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/0.5193, allocations: 3.179 MB / 0.652 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/0.5206, allocations: 0.9095 MB / 0.6528 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.5207, allocations: 105.3 kB / 0.6529 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.5208, allocations: 55.16 kB / 0.653 GB, free: 14.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=82): time 2.876e-06/0.5208, allocations: 0 / 0.653 GB, free: 14.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=82): time 0.00295/0.5237, allocations: 2.074 MB / 0.655 GB, free: 12.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.427e-05/0.5238, allocations: 230.2 kB / 0.6552 GB, free: 12.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.5252, allocations: 1.09 MB / 0.6563 GB, free: 11.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.5253, allocations: 41.7 kB / 0.6564 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007051/0.526, allocations: 1.278 MB / 0.6576 GB, free: 9.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.5262, allocations: 306.6 kB / 0.6579 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/0.5267, allocations: 351.1 kB / 0.6582 GB, free: 9.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.5269, allocations: 345.3 kB / 0.6586 GB, free: 8.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.528, allocations: 0.8986 MB / 0.6594 GB, free: 7.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/0.5295, allocations: 1.503 MB / 0.6609 GB, free: 6.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.5321, allocations: 2.362 MB / 0.6632 GB, free: 3.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.5321, allocations: 4 kB / 0.6632 GB, free: 3.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003403/0.5355, allocations: 2.492 MB / 0.6656 GB, free: 1.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5356, allocations: 15.98 kB / 0.6657 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.5356, allocations: 20 kB / 0.6657 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.389e-05/0.5356, allocations: 28 kB / 0.6657 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.5371, allocations: 455.2 kB / 0.6661 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.594e-05/0.5371, allocations: 43.8 kB / 0.6662 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5385, allocations: 346.1 kB / 0.6665 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.5386, allocations: 79.98 kB / 0.6666 GB, free: 52 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002481/0.5411, allocations: 1.901 MB / 0.6684 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001389/0.5425, allocations: 1.444 MB / 0.6699 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002335/0.5448, allocations: 2.2 MB / 0.672 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/0.5449, allocations: 7.938 kB / 0.672 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003125/0.548, allocations: 2.324 MB / 0.6743 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.548, allocations: 16.25 kB / 0.6743 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.5481, allocations: 20 kB / 0.6743 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/0.5481, allocations: 28 kB / 0.6743 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.5494, allocations: 443.2 kB / 0.6748 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.751e-05/0.5494, allocations: 39.86 kB / 0.6748 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5508, allocations: 286.5 kB / 0.6751 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.5509, allocations: 75.98 kB / 0.6751 GB, free: 6.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.5512, allocations: 291.5 kB / 0.6754 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.5515, allocations: 102.8 kB / 0.6755 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.5538, allocations: 1.56 MB / 0.677 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5538, allocations: 8 kB / 0.6771 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.5538, allocations: 7.984 kB / 0.6771 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.5538, allocations: 7.922 kB / 0.6771 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007123/0.561, allocations: 4.477 MB / 0.6814 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.561, allocations: 4 kB / 0.6814 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.5619, allocations: 255.6 kB / 0.6817 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.5619, allocations: 4 kB / 0.6817 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.562, allocations: 12 kB / 0.6817 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.562, allocations: 11.94 kB / 0.6817 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.562, allocations: 0 / 0.6817 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.564, allocations: 1.915 MB / 0.6836 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.5645, allocations: 323.7 kB / 0.6839 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.5647, allocations: 19.98 kB / 0.6839 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008462/0.5655, allocations: 126.1 kB / 0.684 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5656, allocations: 56.53 kB / 0.6841 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/0.5657, allocations: 24 kB / 0.6841 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009565/0.5667, allocations: 0.7995 MB / 0.6849 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5667, allocations: 0 / 0.6849 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003317/0.57, allocations: 1.301 MB / 0.6862 GB, free: 11.28 MB / 0.5137 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002248/0.5723, allocations: 2.476 MB / 0.6886 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003952/0.5762, allocations: 2.987 MB / 0.6915 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5762, allocations: 0 / 0.6915 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.577, allocations: 0.6555 MB / 0.6921 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.5784, allocations: 189.8 kB / 0.6923 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/0.599, allocations: 16.74 MB / 0.7087 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.6013, allocations: 2.21 MB / 0.7108 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002382/0.6037, allocations: 1.097 MB / 0.7119 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/0.605, allocations: 0.849 MB / 0.7127 GB, free: 15.3 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.605, allocations: 0 / 0.7127 GB, free: 15.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.6488, allocations: 30.62 MB / 0.7426 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/0.6491, allocations: 222.2 kB / 0.7428 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.706, allocations: 0 / 0.7428 GB, free: 0.793 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)