Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.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.671/1.671, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001174/0.001174, allocations: 183.3 kB / 372.9 MB, free: 10.16 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.752/1.752, allocations: 205.4 MB / 0.6316 GB, free: 9.816 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.0008702/0.0008704, allocations: 94.3 kB / 0.745 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 19.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2369, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003652/0.2406, allocations: 2.615 MB / 0.9833 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003034/0.2437, allocations: 1.657 MB / 0.9849 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002867/0.244, allocations: 7.938 kB / 0.9849 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.2442, allocations: 39.7 kB / 0.985 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006442/0.2449, allocations: 171.2 kB / 0.9851 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.2457, allocations: 213.1 kB / 0.9853 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.2462, allocations: 422.6 kB / 0.9857 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.247, allocations: 402.9 kB / 0.9861 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.2473, allocations: 127.5 kB / 0.9862 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.2476, allocations: 167.4 kB / 0.9864 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.2476, allocations: 12 kB / 0.9864 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.2481, allocations: 299.4 kB / 0.9867 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.2482, allocations: 79.72 kB / 0.9868 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.2483, allocations: 149.1 kB / 0.9869 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.2487, allocations: 355 kB / 0.9872 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2487, allocations: 4 kB / 0.9873 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2487, allocations: 0 / 0.9873 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2487, allocations: 4 kB / 0.9873 GB, free: 20.61 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.001093/0.2498, allocations: 0.5962 MB / 0.9878 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.2498, allocations: 8.031 kB / 0.9878 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/0.2505, allocations: 96.47 kB / 0.9879 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.2508, allocations: 283.4 kB / 0.9882 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.2508, allocations: 16.81 kB / 0.9882 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/0.2509, allocations: 32.34 kB / 0.9883 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.2515, allocations: 426.9 kB / 0.9887 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2516, allocations: 3.938 kB / 0.9887 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.2516, allocations: 15.94 kB / 0.9887 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.2517, allocations: 20.36 kB / 0.9887 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.2524, allocations: 412.8 kB / 0.9891 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.254, allocations: 1.615 MB / 0.9907 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.255, allocations: 485 kB / 0.9911 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.2554, allocations: 209.6 kB / 0.9913 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.2556, allocations: 89.09 kB / 0.9914 GB, free: 16.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005445/0.2562, allocations: 276.4 kB / 0.9917 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 5.179e-06/0.2562, allocations: 0 / 0.9917 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28): time 0.001932/0.2581, allocations: 0.7883 MB / 0.9925 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.2582, allocations: 81.11 kB / 0.9925 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.2584, allocations: 228.9 kB / 0.9927 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2584, allocations: 29.7 kB / 0.9928 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.2586, allocations: 160.4 kB / 0.9929 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.282e-05/0.2586, allocations: 98.64 kB / 0.993 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.2587, allocations: 8 kB / 0.993 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2588, allocations: 334.8 kB / 0.9934 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.2592, allocations: 184.2 kB / 0.9935 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.2596, allocations: 257.3 kB / 0.9938 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.2603, allocations: 482.9 kB / 0.9942 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2604, allocations: 4 kB / 0.9942 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009885/0.2613, allocations: 0.5591 MB / 0.9948 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2615, allocations: 182.5 kB / 0.995 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2615, allocations: 4 kB / 0.995 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/0.2617, allocations: 40.88 kB / 0.995 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.2621, allocations: 99.84 kB / 0.9951 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.2633, allocations: 1.493 MB / 0.9966 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2636, allocations: 59.73 kB / 0.9966 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.2637, allocations: 8 kB / 0.9966 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-06/0.2637, allocations: 4 kB / 0.9966 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008952/0.2646, allocations: 0.4905 MB / 0.9971 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2646, allocations: 0 / 0.9971 GB, free: 9.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/0.2647, allocations: 52.75 kB / 0.9972 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2651, allocations: 88.03 kB / 0.9972 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009042/0.266, allocations: 1.485 MB / 0.9987 GB, free: 8.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/0.2663, allocations: 47.81 kB / 0.9987 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.2663, allocations: 15.98 kB / 0.9987 GB, free: 8.047 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.0002001/0.2665, allocations: 245 kB / 0.999 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2665, allocations: 27.66 kB / 0.999 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009346/0.2675, allocations: 485.7 kB / 0.9995 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2675, allocations: 11.98 kB / 0.9995 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2675, allocations: 0 / 0.9995 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.2677, allocations: 132.7 kB / 0.9996 GB, free: 7.133 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.2677, allocations: 11.98 kB / 0.9996 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.268, allocations: 51.88 kB / 0.9997 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2681, allocations: 31.89 kB / 0.9997 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00108/0.2692, allocations: 0.6532 MB / 1 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001197/0.2704, allocations: 0.8885 MB / 1.001 GB, free: 5.469 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003533/0.2708, allocations: 199.8 kB / 1.001 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001225/0.2709, allocations: 172.5 kB / 1.002 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of Backend: time 8.81e-07/0.2709, allocations: 0 / 1.002 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.2729, allocations: 1.052 MB / 1.003 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0009749/0.2739, allocations: 1.09 MB / 1.004 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of Templates: time 0.01086/0.2848, allocations: 6.517 MB / 1.01 GB, free: 12.36 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)