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.001178/0.001178, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001171/0.001171, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.181/1.181, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6522/0.6522, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.08 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2626, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003475/0.2661, allocations: 3.304 MB / 0.5592 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.2686, allocations: 1.99 MB / 0.5612 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.2687, allocations: 9.594 kB / 0.5612 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007603/0.2695, allocations: 274.8 kB / 0.5615 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.2699, allocations: 214.4 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2703, allocations: 262.3 kB / 0.5619 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.2707, allocations: 409.4 kB / 0.5623 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003345/0.271, allocations: 233.3 kB / 0.5625 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2712, allocations: 157.8 kB / 0.5627 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.2715, allocations: 208.4 kB / 0.5629 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.2715, allocations: 23.84 kB / 0.5629 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.2719, allocations: 266.9 kB / 0.5632 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.272, allocations: 117.2 kB / 0.5633 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.2721, allocations: 152.3 kB / 0.5634 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.2726, allocations: 0.4956 MB / 0.5639 GB, free: 31.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2726, allocations: 2.344 kB / 0.5639 GB, free: 31.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.2726, allocations: 0 / 0.5639 GB, free: 31.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.2726, allocations: 0 / 0.5639 GB, free: 31.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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008324/0.2735, allocations: 0.5952 MB / 0.5645 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.2735, allocations: 8.875 kB / 0.5645 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.2736, allocations: 64.03 kB / 0.5646 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008819/0.2744, allocations: 115.7 kB / 0.5647 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.2747, allocations: 279.6 kB / 0.5649 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.2747, allocations: 19.45 kB / 0.5649 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.2748, allocations: 41.47 kB / 0.565 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.2755, allocations: 456.1 kB / 0.5654 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.2755, allocations: 1.125 kB / 0.5654 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.2755, allocations: 10.62 kB / 0.5654 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.2757, allocations: 42.09 kB / 0.5655 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005438/0.2762, allocations: 370.6 kB / 0.5658 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.2782, allocations: 2.216 MB / 0.568 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.2786, allocations: 264.8 kB / 0.5682 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.2788, allocations: 166.5 kB / 0.5684 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2788, allocations: 8.266 kB / 0.5684 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.2788, allocations: 33.22 kB / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.2788, allocations: 0 / 0.5684 GB, free: 28.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001474/0.2803, allocations: 1.056 MB / 0.5695 GB, free: 27.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.2803, allocations: 57.56 kB / 0.5695 GB, free: 27.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.2806, allocations: 256.3 kB / 0.5698 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.2806, allocations: 34.67 kB / 0.5698 GB, free: 27.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2807, allocations: 187.4 kB / 0.57 GB, free: 27.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.2807, allocations: 85.88 kB / 0.5701 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.2808, allocations: 80.66 kB / 0.5701 GB, free: 27.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.572e-05/0.2809, allocations: 332.4 kB / 0.5705 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002501/0.2812, allocations: 161.1 kB / 0.5706 GB, free: 26.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.2814, allocations: 241.9 kB / 0.5708 GB, free: 26.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.2819, allocations: 406.8 kB / 0.5712 GB, free: 26.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2819, allocations: 3.938 kB / 0.5712 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001059/0.283, allocations: 0.6058 MB / 0.5718 GB, free: 26.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.283, allocations: 5.75 kB / 0.5718 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.283, allocations: 3.625 kB / 0.5718 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/0.2836, allocations: 192.2 kB / 0.572 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2839, allocations: 66.25 kB / 0.5721 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.2862, allocations: 2.496 MB / 0.5745 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.2866, allocations: 22.62 kB / 0.5745 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2866, allocations: 16.28 kB / 0.5746 GB, free: 24.28 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.0001246/0.2868, allocations: 174 kB / 0.5747 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.2868, allocations: 26.09 kB / 0.5747 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.2873, allocations: 354.6 kB / 0.5751 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2873, allocations: 2.75 kB / 0.5751 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.2873, allocations: 0 / 0.5751 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2873, allocations: 2.781 kB / 0.5751 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.2882, allocations: 0.8086 MB / 0.5759 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2882, allocations: 1.719 kB / 0.5759 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.2885, allocations: 80.62 kB / 0.576 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2886, allocations: 5.281 kB / 0.576 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.2886, allocations: 8.234 kB / 0.576 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2886, allocations: 2.594 kB / 0.576 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2886, allocations: 0 / 0.576 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.2892, allocations: 0.6154 MB / 0.5766 GB, free: 23.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2893, allocations: 125.4 kB / 0.5767 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.2894, allocations: 9.672 kB / 0.5767 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2896, allocations: 17.31 kB / 0.5767 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.2897, allocations: 19.2 kB / 0.5767 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2897, allocations: 7.047 kB / 0.5767 GB, free: 22.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000176/0.2899, allocations: 187.9 kB / 0.5769 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2899, allocations: 1.219 kB / 0.5769 GB, free: 22.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.2902, allocations: 89.97 kB / 0.577 GB, free: 22.87 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.0007764/0.291, allocations: 1.162 MB / 0.5781 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008208/0.2919, allocations: 0.5767 MB / 0.5787 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2919, allocations: 0.5938 kB / 0.5787 GB, free: 21.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.292, allocations: 153 kB / 0.5789 GB, free: 21.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.2925, allocations: 62.3 kB / 0.5789 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.2967, allocations: 3.795 MB / 0.5826 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.2969, allocations: 0.8008 MB / 0.5834 GB, free: 18.49 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002282/0.2972, allocations: 72.88 kB / 0.5835 GB, free: 18.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2973, allocations: 85.84 kB / 0.5836 GB, free: 18.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2973, allocations: 4 kB / 0.5836 GB, free: 18.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/0.5468, allocations: 6.735 MB / 0.5901 GB, free: 16.11 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.5469, allocations: 239.4 kB / 0.5904 GB, free: 15.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.395, allocations: 0 / 0.5904 GB, free: 15.85 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)