Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.001171/0.001171, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001171/0.001171, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.179/1.179, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6463/0.6463, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 62.47 kB / 0.5572 GB, free: 32.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1152, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005286/0.1205, allocations: 4.88 MB / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.1238, allocations: 2.491 MB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.124, allocations: 23.81 kB / 0.6388 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.125, allocations: 405.8 kB / 0.6392 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007239/0.1258, allocations: 469.6 kB / 0.6396 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006669/0.1264, allocations: 405.1 kB / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007665/0.1272, allocations: 0.929 MB / 0.6409 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004501/0.1277, allocations: 365.3 kB / 0.6413 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.128, allocations: 342.6 kB / 0.6416 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.1284, allocations: 346.5 kB / 0.6419 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.1284, allocations: 40 kB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.129, allocations: 403.1 kB / 0.6424 GB, free: 9.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1291, allocations: 183.4 kB / 0.6425 GB, free: 9.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.1294, allocations: 322.2 kB / 0.6428 GB, free: 9.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007668/0.1302, allocations: 0.8807 MB / 0.6437 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1302, allocations: 0 / 0.6437 GB, free: 8.469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1302, allocations: 0 / 0.6437 GB, free: 8.469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1302, allocations: 4 kB / 0.6437 GB, free: 8.465 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001197/0.1314, allocations: 0.954 MB / 0.6446 GB, free: 7.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1315, allocations: 8.031 kB / 0.6446 GB, free: 7.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.574e-05/0.1315, allocations: 90.7 kB / 0.6447 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.1327, allocations: 203.9 kB / 0.6449 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.1334, allocations: 0.549 MB / 0.6455 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1334, allocations: 41.3 kB / 0.6455 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.1335, allocations: 44.36 kB / 0.6455 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.1344, allocations: 0.8446 MB / 0.6464 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1345, allocations: 11.84 kB / 0.6464 GB, free: 5.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.1345, allocations: 20 kB / 0.6464 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.1346, allocations: 68.95 kB / 0.6465 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1354, allocations: 0.5616 MB / 0.647 GB, free: 4.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.1395, allocations: 5.647 MB / 0.6525 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.14, allocations: 454.8 kB / 0.653 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.1403, allocations: 228.7 kB / 0.6532 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1404, allocations: 0 / 0.6532 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1404, allocations: 38.56 kB / 0.6532 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.1404, allocations: 0 / 0.6532 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002222/0.1426, allocations: 1.517 MB / 0.6547 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1427, allocations: 55.69 kB / 0.6547 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.1432, allocations: 0.4991 MB / 0.6552 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.1432, allocations: 29.7 kB / 0.6553 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.1434, allocations: 362.8 kB / 0.6556 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-05/0.1435, allocations: 122.3 kB / 0.6557 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1436, allocations: 110.2 kB / 0.6558 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1437, allocations: 366.8 kB / 0.6562 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.144, allocations: 197.1 kB / 0.6564 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1444, allocations: 447.3 kB / 0.6568 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007111/0.1451, allocations: 0.6913 MB / 0.6575 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1451, allocations: 4 kB / 0.6575 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001111/0.1463, allocations: 0.8021 MB / 0.6583 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1463, allocations: 15.97 kB / 0.6583 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1463, allocations: 8 kB / 0.6583 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004311/0.1467, allocations: 152.1 kB / 0.6584 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.1471, allocations: 123.8 kB / 0.6585 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.1501, allocations: 4.348 MB / 0.6628 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.1504, allocations: 31.97 kB / 0.6628 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.1504, allocations: 28 kB / 0.6628 GB, free: 3.355 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.1506, allocations: 218.9 kB / 0.6631 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.193e-05/0.1507, allocations: 63.25 kB / 0.6631 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.1517, allocations: 0.593 MB / 0.6637 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1517, allocations: 4 kB / 0.6637 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1517, allocations: 4 kB / 0.6637 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.1517, allocations: 3.984 kB / 0.6637 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.1533, allocations: 1.267 MB / 0.6649 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1533, allocations: 4 kB / 0.6649 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1535, allocations: 52.11 kB / 0.665 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003573/0.1539, allocations: 144.2 kB / 0.6651 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.1539, allocations: 11.94 kB / 0.6651 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/0.1567, allocations: 4.337 MB / 0.6694 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1567, allocations: 4 kB / 0.6694 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008621/0.1576, allocations: 0.7081 MB / 0.6701 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.1578, allocations: 172.3 kB / 0.6702 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.1579, allocations: 11.98 kB / 0.6702 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.1581, allocations: 19.97 kB / 0.6703 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1582, allocations: 39.84 kB / 0.6703 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1582, allocations: 12 kB / 0.6703 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000327/0.1585, allocations: 338.8 kB / 0.6706 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 0.6706 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005662/0.1591, allocations: 136 kB / 0.6708 GB, free: 10.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001112/0.1602, allocations: 1.265 MB / 0.672 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.1615, allocations: 1.04 MB / 0.673 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1615, allocations: 0 / 0.673 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.1622, allocations: 0.7389 MB / 0.6737 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.1631, allocations: 212.5 kB / 0.6739 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.1685, allocations: 5.137 MB / 0.679 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.169, allocations: 0.9098 MB / 0.6799 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.1692, allocations: 121.2 kB / 0.68 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.1695, allocations: 195.4 kB / 0.6802 GB, free: 372 kB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1695, allocations: 0 / 0.6802 GB, free: 372 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03382/0.2033, allocations: 12.84 MB / 0.6927 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.32/9.523, allocations: 22.12 kB / 0.6927 GB, free: 3.758 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)