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.0008483/0.0008484, allocations: 96.27 kB / 15.69 MB, free: 480 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.000911/0.0009111, allocations: 176.2 kB / 16.57 MB, free: 6.395 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.17/1.17, allocations: 223.2 MB / 240.5 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5898/0.5898, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002362, allocations: 11.98 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003939/0.1129, allocations: 4.128 MB / 0.5608 GB, free: 7.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1156, allocations: 2.309 MB / 0.563 GB, free: 5.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.1157, allocations: 23.75 kB / 0.563 GB, free: 5.227 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.1159, allocations: 75.45 kB / 0.5631 GB, free: 5.152 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00055/0.1165, allocations: 362.9 kB / 0.5635 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005049/0.117, allocations: 310.7 kB / 0.5638 GB, free: 4.496 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.1176, allocations: 0.5913 MB / 0.5643 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.1181, allocations: 424.2 kB / 0.5647 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.1184, allocations: 263 kB / 0.565 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.1187, allocations: 286.8 kB / 0.5653 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.1187, allocations: 24 kB / 0.5653 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.119, allocations: 147.8 kB / 0.5654 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1191, allocations: 139.5 kB / 0.5656 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.1192, allocations: 141.3 kB / 0.5657 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.1197, allocations: 0.5963 MB / 0.5663 GB, free: 1.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1197, allocations: 0 / 0.5663 GB, free: 1.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1197, allocations: 0 / 0.5663 GB, free: 1.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1197, allocations: 0 / 0.5663 GB, free: 1.879 MB / 430.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.0009532/0.1207, allocations: 0.8294 MB / 0.5671 GB, free: 1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.723e-05/0.1207, allocations: 8.031 kB / 0.5671 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.351e-05/0.1208, allocations: 94.5 kB / 0.5672 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/0.1216, allocations: 178.9 kB / 0.5674 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005902/0.1222, allocations: 481.4 kB / 0.5678 GB, free: 212 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.1223, allocations: 36.97 kB / 0.5679 GB, free: 172 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-05/0.1223, allocations: 40 kB / 0.5679 GB, free: 132 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000871/0.1232, allocations: 0.8481 MB / 0.5687 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1232, allocations: 15.92 kB / 0.5687 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.182e-05/0.1233, allocations: 23.98 kB / 0.5688 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-05/0.1234, allocations: 64.95 kB / 0.5688 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.1241, allocations: 0.5616 MB / 0.5694 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/0.1276, allocations: 5.658 MB / 0.5749 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.1282, allocations: 458.2 kB / 0.5753 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1282, allocations: 4 kB / 0.5753 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.1282, allocations: 30.56 kB / 0.5754 GB, free: 7.934 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.282e-06/0.1282, allocations: 3.938 kB / 0.5754 GB, free: 7.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002045/0.1303, allocations: 1.505 MB / 0.5768 GB, free: 6.309 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1303, allocations: 55.69 kB / 0.5769 GB, free: 6.242 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/0.1307, allocations: 0.4951 MB / 0.5774 GB, free: 5.734 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.1308, allocations: 33.7 kB / 0.5774 GB, free: 5.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.131, allocations: 354.8 kB / 0.5777 GB, free: 5.344 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.131, allocations: 122.3 kB / 0.5779 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/0.1311, allocations: 12 kB / 0.5779 GB, free: 5.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1312, allocations: 366.8 kB / 0.5782 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1315, allocations: 197.2 kB / 0.5784 GB, free: 4.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.1318, allocations: 443.3 kB / 0.5788 GB, free: 4.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1322, allocations: 259.7 kB / 0.5791 GB, free: 3.848 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1322, allocations: 4 kB / 0.5791 GB, free: 3.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001067/0.1332, allocations: 0.8051 MB / 0.5799 GB, free: 3.016 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1333, allocations: 11.95 kB / 0.5799 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1333, allocations: 8.906 kB / 0.5799 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.1337, allocations: 160.2 kB / 0.58 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.1341, allocations: 127.7 kB / 0.5802 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1868/0.3209, allocations: 4.053 MB / 0.5841 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.3213, allocations: 38.2 kB / 0.5842 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.3214, allocations: 28.47 kB / 0.5842 GB, free: 30.37 MB / 446.1 MB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000239/0.3216, allocations: 212.2 kB / 0.5844 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.3217, allocations: 63.03 kB / 0.5844 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/0.3226, allocations: 0.594 MB / 0.585 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3226, allocations: 3.094 kB / 0.585 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3226, allocations: 2.328 kB / 0.585 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3227, allocations: 2.328 kB / 0.585 GB, free: 30.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.3242, allocations: 1.254 MB / 0.5863 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3242, allocations: 1.844 kB / 0.5863 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002386/0.3245, allocations: 55.92 kB / 0.5863 GB, free: 29.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/0.3249, allocations: 143 kB / 0.5865 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.3249, allocations: 8.875 kB / 0.5865 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.3269, allocations: 4.052 MB / 0.5904 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3269, allocations: 2.938 kB / 0.5904 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.3277, allocations: 0.7945 MB / 0.5912 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3279, allocations: 173.3 kB / 0.5914 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.759e-05/0.328, allocations: 8.781 kB / 0.5914 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.3282, allocations: 22.3 kB / 0.5914 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.3283, allocations: 33.97 kB / 0.5914 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.3283, allocations: 16.31 kB / 0.5914 GB, free: 25.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003099/0.3286, allocations: 332.8 kB / 0.5918 GB, free: 25.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3286, allocations: 0 / 0.5918 GB, free: 25.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000545/0.3292, allocations: 143.7 kB / 0.5919 GB, free: 25.36 MB / 446.1 MB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009694/0.3301, allocations: 1.82 MB / 0.5937 GB, free: 23.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.3312, allocations: 1.031 MB / 0.5947 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3312, allocations: 0 / 0.5947 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006172/0.3319, allocations: 0.7363 MB / 0.5954 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.3326, allocations: 179 kB / 0.5956 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.3371, allocations: 9.043 MB / 0.6044 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3374, allocations: 0.9234 MB / 0.6053 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.3378, allocations: 113.4 kB / 0.6054 GB, free: 14.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3379, allocations: 200.8 kB / 0.6056 GB, free: 14 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.338, allocations: 0.5 kB / 0.6056 GB, free: 14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.015/1.353, allocations: 12.18 MB / 0.6175 GB, free: 10.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/1.353, allocations: 223.5 kB / 0.6177 GB, free: 10.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/2.762, allocations: 0 / 0.6177 GB, free: 10.51 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: