Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.0006798/0.0006798, allocations: 99.2 kB / 16.02 MB, free: 80 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.0007165/0.0007165, allocations: 179.9 kB / 16.92 MB, free: 6.922 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6738/0.6738, allocations: 115.5 MB / 407.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 8 kB / 496 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 77.53 MB / 0.5601 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005488/0.1332, allocations: 4.461 MB / 0.5644 GB, free: 4.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004354/0.1376, allocations: 2.425 MB / 0.5668 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006735/0.1383, allocations: 23.81 kB / 0.5668 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.1387, allocations: 91.16 kB / 0.5669 GB, free: 1.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.14, allocations: 414.1 kB / 0.5673 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.141, allocations: 346.4 kB / 0.5676 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1424, allocations: 1.128 MB / 0.5687 GB, free: 68 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000857/0.1432, allocations: 456.3 kB / 0.5691 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.1438, allocations: 298.5 kB / 0.5694 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.1444, allocations: 334.5 kB / 0.5698 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.1445, allocations: 20 kB / 0.5698 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009793/0.1455, allocations: 495 kB / 0.5702 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.1457, allocations: 155.5 kB / 0.5704 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.1461, allocations: 323.9 kB / 0.5707 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.1472, allocations: 0.8837 MB / 0.5716 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1472, allocations: 0 / 0.5716 GB, free: 13.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1472, allocations: 0 / 0.5716 GB, free: 13.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.592e-05/0.1473, allocations: 0 / 0.5716 GB, free: 13.11 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001328/0.1486, allocations: 0.8296 MB / 0.5724 GB, free: 12.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1486, allocations: 8.031 kB / 0.5724 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.1488, allocations: 90.7 kB / 0.5725 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.1499, allocations: 203.9 kB / 0.5727 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.1506, allocations: 494.3 kB / 0.5731 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.1506, allocations: 33.36 kB / 0.5732 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.1507, allocations: 48.27 kB / 0.5732 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.1517, allocations: 0.8483 MB / 0.574 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.1518, allocations: 7.938 kB / 0.574 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.1518, allocations: 27.92 kB / 0.5741 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.652e-05/0.1519, allocations: 68.95 kB / 0.5741 GB, free: 10.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/0.1527, allocations: 0.5733 MB / 0.5747 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004128/0.1568, allocations: 5.639 MB / 0.5802 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.1575, allocations: 455.1 kB / 0.5806 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.1578, allocations: 228.7 kB / 0.5809 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1578, allocations: 4 kB / 0.5809 GB, free: 2.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.1578, allocations: 34.56 kB / 0.5809 GB, free: 2.906 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.084e-06/0.1578, allocations: 4 kB / 0.5809 GB, free: 2.902 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002677/0.1605, allocations: 1.515 MB / 0.5824 GB, free: 1.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1606, allocations: 55.69 kB / 0.5824 GB, free: 1.203 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.1611, allocations: 0.4912 MB / 0.5829 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.1612, allocations: 29.7 kB / 0.5829 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002713/0.1615, allocations: 358.8 kB / 0.5833 GB, free: 316 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1616, allocations: 122.3 kB / 0.5834 GB, free: 192 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.505e-05/0.1616, allocations: 49.7 kB / 0.5834 GB, free: 136 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2532/0.4148, allocations: 366.8 kB / 0.5838 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.4153, allocations: 190 kB / 0.584 GB, free: 30.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.4158, allocations: 445.4 kB / 0.5844 GB, free: 30.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.4165, allocations: 0.688 MB / 0.5851 GB, free: 30.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.4165, allocations: 5.562 kB / 0.5851 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001333/0.4179, allocations: 0.8092 MB / 0.5859 GB, free: 30.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.4179, allocations: 9.078 kB / 0.5859 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.4179, allocations: 10.53 kB / 0.5859 GB, free: 30.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004765/0.4184, allocations: 161 kB / 0.586 GB, free: 30.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.4189, allocations: 120 kB / 0.5862 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.4213, allocations: 4.034 MB / 0.5901 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.4217, allocations: 36.06 kB / 0.5901 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.4217, allocations: 30.62 kB / 0.5902 GB, free: 26.35 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 (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.0002602/0.422, allocations: 217.5 kB / 0.5904 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.569e-05/0.4221, allocations: 59.59 kB / 0.5904 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4231, allocations: 0.5968 MB / 0.591 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4231, allocations: 4.625 kB / 0.591 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4231, allocations: 1.469 kB / 0.591 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4232, allocations: 6.641 kB / 0.591 GB, free: 26.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.4248, allocations: 1.255 MB / 0.5922 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4249, allocations: 4.594 kB / 0.5922 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4251, allocations: 51.97 kB / 0.5923 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.4255, allocations: 151 kB / 0.5924 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.4255, allocations: 7.672 kB / 0.5924 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.4276, allocations: 4.033 MB / 0.5964 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4277, allocations: 6.578 kB / 0.5964 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.4286, allocations: 0.7027 MB / 0.5971 GB, free: 20.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.4287, allocations: 170.6 kB / 0.5972 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.407e-05/0.4288, allocations: 12.97 kB / 0.5973 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.429, allocations: 25.8 kB / 0.5973 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.4291, allocations: 35.81 kB / 0.5973 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.4291, allocations: 8.297 kB / 0.5973 GB, free: 20.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.4295, allocations: 333.9 kB / 0.5976 GB, free: 20.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4295, allocations: 0 / 0.5976 GB, free: 20.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.4302, allocations: 142.8 kB / 0.5978 GB, free: 20.64 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 (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.001092/0.4313, allocations: 1.263 MB / 0.599 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.4325, allocations: 1.027 MB / 0.6 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4325, allocations: 1.375 kB / 0.6 GB, free: 18.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006989/0.4332, allocations: 0.7392 MB / 0.6007 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4343, allocations: 192.4 kB / 0.6009 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005976/0.4403, allocations: 5.405 MB / 0.6062 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.4407, allocations: 0.9092 MB / 0.6071 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.4411, allocations: 119.4 kB / 0.6072 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.4413, allocations: 193.3 kB / 0.6074 GB, free: 13.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4413, allocations: 1.312 kB / 0.6074 GB, free: 13.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4319/0.8732, allocations: 11.98 MB / 0.6191 GB, free: 10.17 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.8734, allocations: 235.1 kB / 0.6193 GB, free: 9.914 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.651, allocations: 0 / 0.6193 GB, free: 9.914 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)