Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.005052/0.005052, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001346/0.001346, allocations: 197.4 kB / 16.79 MB, free: 6.242 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: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6308/0.6308, allocations: 115.3 MB / 405.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.91 kB / 493 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2791, allocations: 76.17 MB / 0.5558 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003587/0.2827, allocations: 3.303 MB / 0.5591 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.2849, allocations: 1.859 MB / 0.5609 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.285, allocations: 8.938 kB / 0.5609 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006934/0.2857, allocations: 277 kB / 0.5611 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.286, allocations: 195.3 kB / 0.5613 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.2865, allocations: 265.7 kB / 0.5616 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.2869, allocations: 0.5666 MB / 0.5621 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.2873, allocations: 193.3 kB / 0.5623 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.2874, allocations: 141.7 kB / 0.5625 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.2877, allocations: 206.9 kB / 0.5627 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.2878, allocations: 14.88 kB / 0.5627 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.2881, allocations: 287.6 kB / 0.5629 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2883, allocations: 114 kB / 0.5631 GB, free: 32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.2884, allocations: 135.2 kB / 0.5632 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.2889, allocations: 471.3 kB / 0.5636 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2889, allocations: 5.156 kB / 0.5636 GB, free: 31.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2889, allocations: 0.875 kB / 0.5636 GB, free: 31.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.2889, allocations: 0 / 0.5636 GB, free: 31.78 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008528/0.2898, allocations: 0.5899 MB / 0.5642 GB, free: 31.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2898, allocations: 14.34 kB / 0.5642 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.945e-05/0.2899, allocations: 68.91 kB / 0.5643 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006832/0.2906, allocations: 90.59 kB / 0.5644 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/0.2908, allocations: 279.2 kB / 0.5646 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2908, allocations: 19.47 kB / 0.5647 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.961e-05/0.291, allocations: 39.34 kB / 0.5647 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.2915, allocations: 439.6 kB / 0.5651 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2915, allocations: 2.531 kB / 0.5651 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.2916, allocations: 12.05 kB / 0.5651 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.2917, allocations: 39.42 kB / 0.5652 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.2922, allocations: 349.8 kB / 0.5655 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.2941, allocations: 2.209 MB / 0.5677 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.2945, allocations: 274.7 kB / 0.5679 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.2947, allocations: 161.4 kB / 0.5681 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.2947, allocations: 6.5 kB / 0.5681 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.2947, allocations: 36.88 kB / 0.5681 GB, free: 28.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.2947, allocations: 0.9688 kB / 0.5681 GB, free: 28.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001518/0.2962, allocations: 1.052 MB / 0.5691 GB, free: 27.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.2963, allocations: 59.52 kB / 0.5692 GB, free: 27.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.2965, allocations: 248.5 kB / 0.5694 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2965, allocations: 30.77 kB / 0.5695 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.2966, allocations: 188.7 kB / 0.5696 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.2966, allocations: 85.12 kB / 0.5697 GB, free: 27.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2967, allocations: 77.31 kB / 0.5698 GB, free: 27.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.2968, allocations: 333.8 kB / 0.5701 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.297, allocations: 151.1 kB / 0.5703 GB, free: 26.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.2972, allocations: 240.5 kB / 0.5705 GB, free: 26.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.2977, allocations: 410.4 kB / 0.5709 GB, free: 26.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2977, allocations: 1.25 kB / 0.5709 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001003/0.2987, allocations: 0.5849 MB / 0.5715 GB, free: 26.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2987, allocations: 6.375 kB / 0.5715 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2987, allocations: 2.406 kB / 0.5715 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.2994, allocations: 189.4 kB / 0.5716 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.2997, allocations: 60.53 kB / 0.5717 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.3019, allocations: 2.302 MB / 0.574 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.3021, allocations: 22.47 kB / 0.574 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.3022, allocations: 15.78 kB / 0.574 GB, free: 24.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.3023, allocations: 164.4 kB / 0.5741 GB, free: 24.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.3024, allocations: 26.66 kB / 0.5742 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.3028, allocations: 347.2 kB / 0.5745 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3029, allocations: 3.453 kB / 0.5745 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3029, allocations: 2.469 kB / 0.5745 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3029, allocations: 2.688 kB / 0.5745 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.3037, allocations: 0.8214 MB / 0.5753 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3037, allocations: 6.297 kB / 0.5753 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.3041, allocations: 69.58 kB / 0.5754 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3041, allocations: 3.594 kB / 0.5754 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3042, allocations: 7.359 kB / 0.5754 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3042, allocations: 5.969 kB / 0.5754 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3042, allocations: 1.875 kB / 0.5754 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.3048, allocations: 0.6096 MB / 0.576 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3049, allocations: 129.5 kB / 0.5761 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.305, allocations: 3.906 kB / 0.5761 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.3052, allocations: 14.08 kB / 0.5761 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.3052, allocations: 16.97 kB / 0.5762 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3052, allocations: 9.375 kB / 0.5762 GB, free: 23.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3054, allocations: 193.3 kB / 0.5764 GB, free: 23.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3054, allocations: 0 / 0.5764 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003703/0.3058, allocations: 85.97 kB / 0.5764 GB, free: 23.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000795/0.3066, allocations: 1.153 MB / 0.5776 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.3073, allocations: 0.5338 MB / 0.5781 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3073, allocations: 1.125 kB / 0.5781 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3075, allocations: 152.1 kB / 0.5782 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3079, allocations: 56.48 kB / 0.5783 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.312, allocations: 3.755 MB / 0.5819 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.3122, allocations: 0.794 MB / 0.5827 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000205/0.3124, allocations: 82.53 kB / 0.5828 GB, free: 18.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3126, allocations: 87.48 kB / 0.5829 GB, free: 18.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3126, allocations: 0 / 0.5829 GB, free: 18.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.527/0.8396, allocations: 6.418 MB / 0.5892 GB, free: 16.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.8398, allocations: 231.3 kB / 0.5894 GB, free: 16.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.654, allocations: 7.875 kB / 0.5894 GB, free: 16.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)