Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.772/1.772, allocations: 288.4 MB / 304.3 MB, free: 8.211 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.0009967/0.0009969, allocations: 188.8 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.6316 GB, free: 9.895 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.0008622/0.0008621, allocations: 96.55 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003745, allocations: 16.12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003654/0.2269, allocations: 3.116 MB / 0.9838 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.2291, allocations: 1.653 MB / 0.9854 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2293, allocations: 7.938 kB / 0.9854 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2295, allocations: 31.72 kB / 0.9854 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.2299, allocations: 171.2 kB / 0.9856 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.2304, allocations: 215.5 kB / 0.9858 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003518/0.2308, allocations: 418.6 kB / 0.9862 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.2315, allocations: 406.9 kB / 0.9866 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.2317, allocations: 131.5 kB / 0.9867 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.2319, allocations: 171.4 kB / 0.9869 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.232, allocations: 12 kB / 0.9869 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.2324, allocations: 295.4 kB / 0.9872 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.982e-05/0.2324, allocations: 83.7 kB / 0.9873 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.2326, allocations: 149.1 kB / 0.9874 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.2329, allocations: 351 kB / 0.9877 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2329, allocations: 0 / 0.9877 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2329, allocations: 0 / 0.9877 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.233, allocations: 0 / 0.9877 GB, free: 20.14 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.001044/0.234, allocations: 0.6059 MB / 0.9883 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.234, allocations: 8.031 kB / 0.9883 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006347/0.2347, allocations: 96.47 kB / 0.9884 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.235, allocations: 287.4 kB / 0.9887 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.235, allocations: 16.81 kB / 0.9887 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.2351, allocations: 20.38 kB / 0.9887 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006769/0.2357, allocations: 426.9 kB / 0.9891 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2358, allocations: 0 / 0.9891 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.2358, allocations: 12 kB / 0.9892 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.2358, allocations: 20.36 kB / 0.9892 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.2366, allocations: 432.6 kB / 0.9896 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.2381, allocations: 1.615 MB / 0.9912 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/0.2391, allocations: 484.4 kB / 0.9916 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/0.2395, allocations: 209.6 kB / 0.9918 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.2397, allocations: 93.09 kB / 0.9919 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.2401, allocations: 280.3 kB / 0.9922 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.244e-06/0.2402, allocations: 0 / 0.9922 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001698/0.2419, allocations: 0.7797 MB / 0.9929 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.2419, allocations: 81.11 kB / 0.993 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2421, allocations: 225 kB / 0.9932 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.2421, allocations: 33.7 kB / 0.9933 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.2422, allocations: 168.3 kB / 0.9934 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.2423, allocations: 94.66 kB / 0.9935 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2423, allocations: 8 kB / 0.9935 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.2424, allocations: 334.8 kB / 0.9938 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.2428, allocations: 184.2 kB / 0.994 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.2432, allocations: 257.3 kB / 0.9943 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007498/0.2439, allocations: 474.9 kB / 0.9947 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2439, allocations: 4 kB / 0.9947 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009576/0.2449, allocations: 0.5629 MB / 0.9953 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.245, allocations: 178.6 kB / 0.9954 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.245, allocations: 4 kB / 0.9954 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.2453, allocations: 44.81 kB / 0.9955 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.2456, allocations: 87.88 kB / 0.9956 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/0.2467, allocations: 1.497 MB / 0.997 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.2471, allocations: 51.8 kB / 0.9971 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2471, allocations: 12.06 kB / 0.9971 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.2471, allocations: 11.98 kB / 0.9971 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009091/0.248, allocations: 0.4942 MB / 0.9976 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.248, allocations: 0 / 0.9976 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.2482, allocations: 45.05 kB / 0.9976 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2485, allocations: 83.88 kB / 0.9977 GB, free: 9.258 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008602/0.2494, allocations: 1.489 MB / 0.9992 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.2497, allocations: 47.8 kB / 0.9992 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2497, allocations: 19.94 kB / 0.9992 GB, free: 7.562 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.0002024/0.2499, allocations: 245.3 kB / 0.9995 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.2499, allocations: 27.66 kB / 0.9995 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009198/0.2509, allocations: 493.7 kB / 1 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2509, allocations: 4 kB / 1 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2509, allocations: 0 / 1 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.251, allocations: 140.6 kB / 1 GB, free: 6.641 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.2511, allocations: 8 kB / 1 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.2514, allocations: 51.88 kB / 1 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.2515, allocations: 31.95 kB / 1 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001071/0.2526, allocations: 0.6453 MB / 1.001 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001126/0.2537, allocations: 0.8923 MB / 1.002 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003528/0.2541, allocations: 195.8 kB / 1.002 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001352/0.2542, allocations: 176.5 kB / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of Backend: time 1.132e-06/0.2542, allocations: 0 / 1.002 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.2563, allocations: 1.046 MB / 1.003 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001001/0.2573, allocations: 1.085 MB / 1.004 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of Templates: time 0.01068/0.268, allocations: 6.539 MB / 1.011 GB, free: 11.89 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)