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.001003/0.001003, allocations: 102.6 kB / 16.27 MB, free: 5.93 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.001185/0.001185, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7111/0.7111, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 64.09 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3218, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005197/0.3271, allocations: 4.839 MB / 0.572 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.3302, allocations: 2.446 MB / 0.5744 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.3304, allocations: 23.66 kB / 0.5744 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009924/0.3314, allocations: 396.6 kB / 0.5748 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007581/0.3322, allocations: 447.6 kB / 0.5752 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.3329, allocations: 372.2 kB / 0.5756 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007263/0.3337, allocations: 0.9115 MB / 0.5765 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.3341, allocations: 365.4 kB / 0.5768 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.3345, allocations: 337 kB / 0.5771 GB, free: 26.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.3349, allocations: 347.5 kB / 0.5775 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.3349, allocations: 38.62 kB / 0.5775 GB, free: 26.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.3356, allocations: 402.4 kB / 0.5779 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.3358, allocations: 181.1 kB / 0.5781 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.336, allocations: 318.5 kB / 0.5784 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.3369, allocations: 0.8658 MB / 0.5792 GB, free: 25.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3369, allocations: 4.688 kB / 0.5792 GB, free: 25.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3369, allocations: 0 / 0.5792 GB, free: 25.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.919e-06/0.3369, allocations: 0 / 0.5792 GB, free: 25.55 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.001103/0.3381, allocations: 0.9413 MB / 0.5801 GB, free: 24.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3381, allocations: 10.77 kB / 0.5802 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.3382, allocations: 90.38 kB / 0.5802 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.3394, allocations: 203 kB / 0.5804 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.3399, allocations: 493 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.3399, allocations: 36.98 kB / 0.5809 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.34, allocations: 45.36 kB / 0.581 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.3408, allocations: 0.8519 MB / 0.5818 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3408, allocations: 6.406 kB / 0.5818 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.3408, allocations: 26.89 kB / 0.5818 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-05/0.3409, allocations: 65.89 kB / 0.5819 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/0.3416, allocations: 0.5651 MB / 0.5825 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.3443, allocations: 5.66 MB / 0.588 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.3449, allocations: 456.1 kB / 0.5884 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.3451, allocations: 226 kB / 0.5886 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3452, allocations: 3.562 kB / 0.5886 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3452, allocations: 40.64 kB / 0.5887 GB, free: 17.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.3452, allocations: 4.844 kB / 0.5887 GB, free: 17.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002199/0.3474, allocations: 1.5 MB / 0.5902 GB, free: 16.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3474, allocations: 57.78 kB / 0.5902 GB, free: 16.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004627/0.3479, allocations: 0.4923 MB / 0.5907 GB, free: 15.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.3479, allocations: 31.05 kB / 0.5907 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.3481, allocations: 351 kB / 0.5911 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.127e-05/0.3482, allocations: 122 kB / 0.5912 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.3483, allocations: 115.2 kB / 0.5913 GB, free: 15.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.3484, allocations: 364.4 kB / 0.5916 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3487, allocations: 197.2 kB / 0.5918 GB, free: 15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003838/0.3491, allocations: 440.2 kB / 0.5922 GB, free: 14.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006509/0.3498, allocations: 0.7014 MB / 0.5929 GB, free: 14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3498, allocations: 1.406 kB / 0.5929 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00112/0.3509, allocations: 0.8038 MB / 0.5937 GB, free: 13.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3509, allocations: 12.98 kB / 0.5937 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.3509, allocations: 8.844 kB / 0.5937 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.3514, allocations: 157.5 kB / 0.5939 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.3518, allocations: 122.8 kB / 0.594 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.3541, allocations: 4.351 MB / 0.5982 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3545, allocations: 33.53 kB / 0.5983 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.3545, allocations: 26.88 kB / 0.5983 GB, free: 8.977 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.0002267/0.3548, allocations: 214.1 kB / 0.5985 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.3549, allocations: 65.09 kB / 0.5986 GB, free: 8.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.3558, allocations: 0.5981 MB / 0.5992 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3558, allocations: 7.453 kB / 0.5992 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3558, allocations: 2.5 kB / 0.5992 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.3558, allocations: 3.984 kB / 0.5992 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3573, allocations: 1.257 MB / 0.6004 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3573, allocations: 4 kB / 0.6004 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.3575, allocations: 51.89 kB / 0.6004 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003065/0.3578, allocations: 144.4 kB / 0.6006 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3579, allocations: 11.94 kB / 0.6006 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.3599, allocations: 4.34 MB / 0.6048 GB, free: 2.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3599, allocations: 4.031 kB / 0.6048 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.3606, allocations: 0.7076 MB / 0.6055 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.3607, allocations: 168.4 kB / 0.6057 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.3608, allocations: 8 kB / 0.6057 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.361, allocations: 19.97 kB / 0.6057 GB, free: 1.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.3611, allocations: 35.91 kB / 0.6057 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3611, allocations: 11.94 kB / 0.6058 GB, free: 1.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002407/0.3614, allocations: 334.8 kB / 0.6061 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3614, allocations: 0 / 0.6061 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005548/0.3619, allocations: 139.9 kB / 0.6062 GB, free: 0.8477 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.0009589/0.3629, allocations: 1.262 MB / 0.6074 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.3642, allocations: 1.087 MB / 0.6085 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3642, allocations: 8.062 kB / 0.6085 GB, free: 14.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007281/0.365, allocations: 0.7302 MB / 0.6092 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009096/0.3659, allocations: 203.8 kB / 0.6094 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.3714, allocations: 5.187 MB / 0.6145 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3718, allocations: 0.9019 MB / 0.6154 GB, free: 6.832 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003419/0.3721, allocations: 125.3 kB / 0.6155 GB, free: 6.707 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.3724, allocations: 187.4 kB / 0.6157 GB, free: 6.527 MB / 462.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3724, allocations: 0 / 0.6157 GB, free: 6.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.4083, allocations: 12.53 MB / 0.6279 GB, free: 10.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.723/9.132, allocations: 15.05 kB / 0.6279 GB, free: 10.26 MB / 478.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)