Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.716/2.716, allocations: 287.5 MB / 302.4 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 184.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009502/0.0009495, allocations: 88.58 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005181, allocations: 12.38 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2248, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004691/0.2295, allocations: 3.098 MB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003388/0.233, allocations: 1.65 MB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2332, allocations: 8 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.2335, allocations: 35.7 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.2341, allocations: 155.2 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007581/0.2348, allocations: 187.5 kB / 0.9835 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.2354, allocations: 422.6 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.2363, allocations: 370.9 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2366, allocations: 131.5 kB / 0.9844 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003606/0.2369, allocations: 171.4 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-05/0.237, allocations: 12 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.2375, allocations: 147.7 kB / 0.9847 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.2376, allocations: 75.78 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.2377, allocations: 77.52 kB / 0.9848 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.2382, allocations: 347 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2382, allocations: 0 / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2382, allocations: 0 / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2382, allocations: 0 / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001516/0.2398, allocations: 0.6019 MB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.2398, allocations: 12.03 kB / 0.9857 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.799e-05/0.24, allocations: 58.53 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.241, allocations: 103.5 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.2415, allocations: 282.2 kB / 0.9862 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.2416, allocations: 12.44 kB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.2417, allocations: 20 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2429, allocations: 422.6 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.2429, allocations: 3.938 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.243, allocations: 8 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.17e-05/0.243, allocations: 24.36 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.2445, allocations: 420.7 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.2468, allocations: 1.623 MB / 0.9886 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.2487, allocations: 489.2 kB / 0.9891 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.2494, allocations: 205.6 kB / 0.9893 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.2496, allocations: 93.09 kB / 0.9894 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/0.2504, allocations: 270.5 kB / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.116e-06/0.2504, allocations: 0 / 0.9896 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.00288/0.2533, allocations: 0.781 MB / 0.9904 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2534, allocations: 85.09 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.2537, allocations: 224.9 kB / 0.9907 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.2537, allocations: 33.64 kB / 0.9907 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2539, allocations: 172.3 kB / 0.9909 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.254, allocations: 94.66 kB / 0.991 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.254, allocations: 8 kB / 0.991 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.2541, allocations: 334.8 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/0.2548, allocations: 184.2 kB / 0.9915 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.2555, allocations: 257.3 kB / 0.9917 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007539/0.2562, allocations: 230.3 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2562, allocations: 0 / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001808/0.2581, allocations: 0.5641 MB / 0.9925 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.2582, allocations: 186.5 kB / 0.9927 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.2582, allocations: 0 / 0.9927 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.2586, allocations: 44.83 kB / 0.9927 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.2593, allocations: 87.86 kB / 0.9928 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.2609, allocations: 1.497 MB / 0.9943 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/0.2615, allocations: 51.8 kB / 0.9943 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.2616, allocations: 12 kB / 0.9943 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.2616, allocations: 4.062 kB / 0.9943 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001657/0.2633, allocations: 0.4943 MB / 0.9948 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2633, allocations: 0 / 0.9948 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.2635, allocations: 52.98 kB / 0.9949 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/0.2642, allocations: 91.88 kB / 0.995 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.2656, allocations: 1.485 MB / 0.9964 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.2661, allocations: 47.81 kB / 0.9964 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.2662, allocations: 15.98 kB / 0.9965 GB, free: 8.988 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002712/0.2665, allocations: 237.1 kB / 0.9967 GB, free: 8.746 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.2666, allocations: 27.66 kB / 0.9967 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.2683, allocations: 496.9 kB / 0.9972 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.2683, allocations: 4 kB / 0.9972 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2683, allocations: 3.984 kB / 0.9972 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2683, allocations: 4 kB / 0.9972 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.2692, allocations: 0.5699 MB / 0.9978 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2692, allocations: 0 / 0.9978 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/0.2699, allocations: 83.95 kB / 0.9978 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.2701, allocations: 40.81 kB / 0.9979 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.2702, allocations: 8 kB / 0.9979 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001194/0.2714, allocations: 1.413 MB / 0.9993 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2714, allocations: 4.031 kB / 0.9993 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.273, allocations: 0.5615 MB / 0.9998 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.2732, allocations: 140.6 kB / 0.9999 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.2733, allocations: 8 kB / 1 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.2738, allocations: 43.95 kB / 1 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.274, allocations: 31.91 kB / 1 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.274, allocations: 12 kB / 1 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001999/0.2742, allocations: 172.5 kB / 1 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2742, allocations: 0 / 1 GB, free: 4.891 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008012/0.275, allocations: 128 kB / 1 GB, free: 4.766 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.2769, allocations: 1.111 MB / 1.001 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002798/0.2798, allocations: 1.004 MB / 1.002 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2798, allocations: 0 / 1.002 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009685/0.2808, allocations: 346.7 kB / 1.003 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.2815, allocations: 40.41 kB / 1.003 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.2863, allocations: 1.988 MB / 1.005 GB, free: 84 kB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.2868, allocations: 0.7839 MB / 1.005 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005614/0.2874, allocations: 90.2 kB / 1.006 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.2877, allocations: 95.33 kB / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.2877, allocations: 0 / 1.006 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03925/0.327, allocations: 6.602 MB / 1.012 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003827/0.3274, allocations: 241.5 kB / 1.012 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.113, allocations: 0 / 1.012 GB, free: 8.48 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)