Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001233/0.001233, allocations: 100.1 kB / 15.88 MB, free: 12 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.001166/0.001166, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.213/1.213, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6279/0.6279, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 67.23 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.114, allocations: 76.18 MB / 0.5559 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004384/0.1185, allocations: 3.772 MB / 0.5595 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.1206, allocations: 1.805 MB / 0.5613 GB, free: 5.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1208, allocations: 11.94 kB / 0.5613 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.1214, allocations: 247 kB / 0.5615 GB, free: 4.902 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.1218, allocations: 278.7 kB / 0.5618 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1222, allocations: 227 kB / 0.562 GB, free: 4.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.1228, allocations: 0.7375 MB / 0.5627 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.1231, allocations: 245.8 kB / 0.563 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1234, allocations: 211.1 kB / 0.5632 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1236, allocations: 243 kB / 0.5634 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1236, allocations: 16 kB / 0.5634 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.1241, allocations: 335.3 kB / 0.5638 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1242, allocations: 119.6 kB / 0.5639 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.1243, allocations: 194.9 kB / 0.5641 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.1248, allocations: 0.5959 MB / 0.5646 GB, free: 1.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1249, allocations: 0 / 0.5646 GB, free: 1.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1249, allocations: 0 / 0.5646 GB, free: 1.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1249, allocations: 0 / 0.5646 GB, free: 1.734 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0008928/0.1258, allocations: 0.7478 MB / 0.5654 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.1258, allocations: 8.031 kB / 0.5654 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.1259, allocations: 70.72 kB / 0.5654 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.1267, allocations: 136.2 kB / 0.5656 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.127, allocations: 375.7 kB / 0.5659 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1271, allocations: 25.02 kB / 0.566 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.343e-05/0.1271, allocations: 24.38 kB / 0.566 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1278, allocations: 0.5509 MB / 0.5665 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1278, allocations: 11.94 kB / 0.5665 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.1279, allocations: 19.92 kB / 0.5665 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-05/0.1279, allocations: 44.53 kB / 0.5666 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.1286, allocations: 405.7 kB / 0.567 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.1308, allocations: 3.345 MB / 0.5702 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.1314, allocations: 326.5 kB / 0.5706 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1316, allocations: 182.2 kB / 0.5707 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1317, allocations: 4 kB / 0.5707 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.1317, allocations: 38.55 kB / 0.5708 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.1317, allocations: 0 / 0.5708 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001711/0.1334, allocations: 1.068 MB / 0.5718 GB, free: 9.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.1335, allocations: 55.64 kB / 0.5719 GB, free: 9.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.1337, allocations: 337.6 kB / 0.5722 GB, free: 9.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1338, allocations: 29.7 kB / 0.5722 GB, free: 9.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.1339, allocations: 251.5 kB / 0.5725 GB, free: 9.191 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.134, allocations: 90.66 kB / 0.5725 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.1341, allocations: 78.05 kB / 0.5726 GB, free: 9.016 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.1342, allocations: 346.8 kB / 0.5729 GB, free: 8.668 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1344, allocations: 148.8 kB / 0.5731 GB, free: 8.523 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1347, allocations: 294.5 kB / 0.5734 GB, free: 8.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005693/0.1353, allocations: 480.7 kB / 0.5738 GB, free: 7.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1353, allocations: 0 / 0.5738 GB, free: 7.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008497/0.1362, allocations: 0.5657 MB / 0.5744 GB, free: 7.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1362, allocations: 5.719 kB / 0.5744 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1362, allocations: 8.625 kB / 0.5744 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.1365, allocations: 86.52 kB / 0.5745 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.1368, allocations: 91.81 kB / 0.5746 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.1368, allocations: 7.938 kB / 0.5746 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.137, allocations: 31.97 kB / 0.5746 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.1371, allocations: 20 kB / 0.5746 GB, free: 6.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.1372, allocations: 177.6 kB / 0.5748 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.1373, allocations: 39.53 kB / 0.5748 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007578/0.138, allocations: 464 kB / 0.5753 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1381, allocations: 0 / 0.5753 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1381, allocations: 7.938 kB / 0.5753 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1381, allocations: 11.97 kB / 0.5753 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1393, allocations: 0.9559 MB / 0.5762 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1393, allocations: 3.938 kB / 0.5762 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002177/0.1395, allocations: 56.05 kB / 0.5763 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002195/0.1397, allocations: 82.44 kB / 0.5764 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1398, allocations: 8 kB / 0.5764 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1398, allocations: 3.938 kB / 0.5764 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1398, allocations: 4 kB / 0.5764 GB, free: 4.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007141/0.1405, allocations: 0.5389 MB / 0.5769 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1406, allocations: 136.6 kB / 0.577 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.91e-05/0.1407, allocations: 12 kB / 0.577 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.1409, allocations: 31.91 kB / 0.5771 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.141, allocations: 15.97 kB / 0.5771 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.141, allocations: 12 kB / 0.5771 GB, free: 4.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.1412, allocations: 235.2 kB / 0.5773 GB, free: 3.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1412, allocations: 0 / 0.5773 GB, free: 3.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003535/0.1415, allocations: 87.98 kB / 0.5774 GB, free: 3.789 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009299/0.1425, allocations: 1.1 MB / 0.5785 GB, free: 2.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007196/0.1432, allocations: 0.6314 MB / 0.5791 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1432, allocations: 0 / 0.5791 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1436, allocations: 433.8 kB / 0.5795 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/0.1442, allocations: 117.5 kB / 0.5796 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.192/0.3362, allocations: 3.864 MB / 0.5834 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3365, allocations: 0.8202 MB / 0.5842 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.3368, allocations: 82.19 kB / 0.5843 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3369, allocations: 128.6 kB / 0.5844 GB, free: 30.74 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.337, allocations: 0 / 0.5844 GB, free: 30.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5985/0.9354, allocations: 7.869 MB / 0.5921 GB, free: 30.26 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/0.9356, allocations: 241 kB / 0.5923 GB, free: 30 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.64, allocations: 0 / 0.5923 GB, free: 30 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)