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.001204/0.001204, 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.001223/0.001223, allocations: 210.2 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.191/1.191, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6045/0.6045, allocations: 115.3 MB / 405.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 68.52 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 76.18 MB / 0.5559 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00554/0.1203, allocations: 4.862 MB / 0.5606 GB, free: 5.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1237, allocations: 2.464 MB / 0.563 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.124, allocations: 23.81 kB / 0.563 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.125, allocations: 365.7 kB / 0.5634 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008429/0.1259, allocations: 414 kB / 0.5638 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.1266, allocations: 331.5 kB / 0.5641 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009944/0.1276, allocations: 1.132 MB / 0.5652 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005158/0.1281, allocations: 355.5 kB / 0.5655 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.1285, allocations: 306.6 kB / 0.5658 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1289, allocations: 354.4 kB / 0.5662 GB, free: 164 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.33e-05/0.1289, allocations: 24 kB / 0.5662 GB, free: 140 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.1297, allocations: 495 kB / 0.5667 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1298, allocations: 175.4 kB / 0.5668 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.1301, allocations: 306.2 kB / 0.5671 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000865/0.131, allocations: 0.8876 MB / 0.568 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.131, allocations: 3.938 kB / 0.568 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.131, allocations: 0 / 0.568 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.131, allocations: 0 / 0.568 GB, free: 14.29 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.001201/0.1322, allocations: 0.9348 MB / 0.5689 GB, free: 13.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1323, allocations: 8.031 kB / 0.5689 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/0.1323, allocations: 94.69 kB / 0.569 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.1335, allocations: 199.9 kB / 0.5692 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.1341, allocations: 498.2 kB / 0.5697 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.1341, allocations: 33.38 kB / 0.5697 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.1342, allocations: 44.36 kB / 0.5697 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009518/0.1352, allocations: 0.8483 MB / 0.5706 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.1352, allocations: 7.938 kB / 0.5706 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.1353, allocations: 27.92 kB / 0.5706 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.53e-05/0.1353, allocations: 68.95 kB / 0.5707 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.1361, allocations: 0.5656 MB / 0.5712 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.14, allocations: 5.65 MB / 0.5767 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.1406, allocations: 454.3 kB / 0.5772 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.1409, allocations: 228.7 kB / 0.5774 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1409, allocations: 11.94 kB / 0.5774 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1409, allocations: 38.5 kB / 0.5774 GB, free: 3.965 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.233e-06/0.1409, allocations: 0 / 0.5774 GB, free: 3.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002237/0.1432, allocations: 1.504 MB / 0.5789 GB, free: 2.344 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.1432, allocations: 51.69 kB / 0.579 GB, free: 2.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.1436, allocations: 499 kB / 0.5794 GB, free: 1.781 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1437, allocations: 29.7 kB / 0.5795 GB, free: 1.746 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1439, allocations: 362.8 kB / 0.5798 GB, free: 1.387 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-05/0.144, allocations: 118.3 kB / 0.5799 GB, free: 1.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.1441, allocations: 110.2 kB / 0.58 GB, free: 1.152 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1442, allocations: 366.8 kB / 0.5804 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1445, allocations: 197.1 kB / 0.5806 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.1449, allocations: 447.3 kB / 0.581 GB, free: 40 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1856/0.3305, allocations: 0.6829 MB / 0.5817 GB, free: 31.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3305, allocations: 1.719 kB / 0.5817 GB, free: 31.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00117/0.3317, allocations: 0.8133 MB / 0.5825 GB, free: 31.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3317, allocations: 9.359 kB / 0.5825 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3317, allocations: 12.31 kB / 0.5825 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/0.3321, allocations: 155.2 kB / 0.5826 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/0.3326, allocations: 121 kB / 0.5827 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3346, allocations: 4.038 MB / 0.5867 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3349, allocations: 33.88 kB / 0.5867 GB, free: 27.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3349, allocations: 31.28 kB / 0.5867 GB, free: 27.98 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.0001971/0.3351, allocations: 218.7 kB / 0.5869 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.3352, allocations: 59.31 kB / 0.587 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008894/0.3361, allocations: 0.5957 MB / 0.5876 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3361, allocations: 3.375 kB / 0.5876 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3361, allocations: 3.547 kB / 0.5876 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3362, allocations: 0.7969 kB / 0.5876 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.3377, allocations: 1.252 MB / 0.5888 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3377, allocations: 2.812 kB / 0.5888 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.338, allocations: 60.14 kB / 0.5889 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003651/0.3384, allocations: 145.4 kB / 0.589 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.3384, allocations: 8.359 kB / 0.589 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001925/0.3403, allocations: 4.026 MB / 0.593 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3403, allocations: 1.375 kB / 0.593 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008251/0.3412, allocations: 0.7139 MB / 0.5937 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.3413, allocations: 166.5 kB / 0.5938 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.3414, allocations: 12.84 kB / 0.5938 GB, free: 22.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.3416, allocations: 22.17 kB / 0.5938 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.3417, allocations: 36.2 kB / 0.5939 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3417, allocations: 11.59 kB / 0.5939 GB, free: 22.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003256/0.3421, allocations: 337.6 kB / 0.5942 GB, free: 22.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3421, allocations: 1.75 kB / 0.5942 GB, free: 22.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005813/0.3426, allocations: 138.9 kB / 0.5943 GB, free: 22.07 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.0009747/0.3436, allocations: 1.264 MB / 0.5956 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3447, allocations: 1.029 MB / 0.5966 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3447, allocations: 1.156 kB / 0.5966 GB, free: 20.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.3454, allocations: 0.7413 MB / 0.5973 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.3463, allocations: 186.7 kB / 0.5975 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.3516, allocations: 5.381 MB / 0.6027 GB, free: 16.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.352, allocations: 0.9146 MB / 0.6036 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003573/0.3523, allocations: 112.6 kB / 0.6037 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.3525, allocations: 190.8 kB / 0.6039 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3525, allocations: 4 kB / 0.6039 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/0.8426, allocations: 12.14 MB / 0.6158 GB, free: 11.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/0.8428, allocations: 236.8 kB / 0.616 GB, free: 11.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.226/3.069, allocations: 6.031 kB / 0.616 GB, free: 11.34 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)