Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 169 kB / 24.25 MB, free: 304 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.2 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6476/0.6476, allocations: 115 MB / 376 MB, free: 7.598 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.489e-05, allocations: 2.312 kB / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003779/0.003804, allocations: 3.645 MB / 485.2 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.005994, allocations: 1.932 MB / 487.1 MB, free: 8.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.006131, allocations: 8.094 kB / 487.1 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006013/0.006733, allocations: 240.4 kB / 487.3 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.007104, allocations: 229.3 kB / 487.6 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.007542, allocations: 262.8 kB / 487.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.007889, allocations: 412.9 kB / 488.2 MB, free: 7.914 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.00821, allocations: 175.3 kB / 488.4 MB, free: 7.832 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.008492, allocations: 230.7 kB / 488.6 MB, free: 7.734 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.008733, allocations: 172.1 kB / 488.8 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.008773, allocations: 27.47 kB / 488.8 MB, free: 7.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.009073, allocations: 272.6 kB / 489.1 MB, free: 7.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.009173, allocations: 106.9 kB / 489.2 MB, free: 7.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.009274, allocations: 101.2 kB / 489.3 MB, free: 7.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004421/0.009717, allocations: 417.5 kB / 489.7 MB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.00972, allocations: 0 / 489.7 MB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009721, allocations: 1.875 kB / 489.7 MB, free: 7.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.009728, allocations: 3.938 kB / 489.7 MB, free: 7.336 MB / 410.7 MB 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.0008185/0.01055, allocations: 0.6688 MB / 490.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.01059, allocations: 9.656 kB / 490.4 MB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/0.01129, allocations: 176.5 kB / 490.5 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.01155, allocations: 233.8 kB / 490.8 MB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.01157, allocations: 15.31 kB / 490.8 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.362e-05/0.01161, allocations: 27.02 kB / 490.8 MB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.01206, allocations: 343 kB / 491.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.01207, allocations: 1.875 kB / 491.1 MB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.0121, allocations: 11.36 kB / 491.2 MB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/0.01215, allocations: 29.02 kB / 491.2 MB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.01241, allocations: 144.8 kB / 491.3 MB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01361, allocations: 1.482 MB / 492.8 MB, free: 21.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.01413, allocations: 275.6 kB / 493.1 MB, free: 20.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.01425, allocations: 75.2 kB / 493.1 MB, free: 20.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-05/0.01434, allocations: 14.72 kB / 493.2 MB, free: 20.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002372/0.01457, allocations: 195.2 kB / 493.4 MB, free: 20.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 1.433e-06/0.01458, allocations: 0.7188 kB / 493.4 MB, free: 20.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008682/0.01544, allocations: 367.1 kB / 493.7 MB, free: 20.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.01548, allocations: 89.81 kB / 493.8 MB, free: 20.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.01565, allocations: 275.8 kB / 494.1 MB, free: 20.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.01568, allocations: 32.3 kB / 494.1 MB, free: 20.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.01577, allocations: 214.6 kB / 494.3 MB, free: 20.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.01583, allocations: 96.72 kB / 494.4 MB, free: 19.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.01592, allocations: 69.97 kB / 494.5 MB, free: 19.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.01606, allocations: 0.5093 MB / 495 MB, free: 19.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.01622, allocations: 106 kB / 495.1 MB, free: 19.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.01637, allocations: 198.3 kB / 495.3 MB, free: 19.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.01665, allocations: 274 kB / 495.5 MB, free: 19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01665, allocations: 0.9688 kB / 495.5 MB, free: 19 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004807/0.01713, allocations: 386.8 kB / 495.9 MB, free: 18.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.01716, allocations: 32.39 kB / 496 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01717, allocations: 3.219 kB / 496 MB, free: 18.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.01737, allocations: 45.22 kB / 496 MB, free: 18.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.0176, allocations: 90.47 kB / 496.1 MB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009699/0.01857, allocations: 1.851 MB / 497.9 MB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.01874, allocations: 49.73 kB / 498 MB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.01876, allocations: 14.09 kB / 498 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001741/0.01893, allocations: 221.6 kB / 498.2 MB, free: 16.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001449/0.01908, allocations: 194.3 kB / 498.4 MB, free: 16.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000241/0.01932, allocations: 269.8 kB / 498.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.01932, allocations: 2.281 kB / 498.7 MB, free: 16.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004385/0.01976, allocations: 372.3 kB / 499 MB, free: 16.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.01978, allocations: 33.02 kB / 499.1 MB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.01979, allocations: 2.469 kB / 499.1 MB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.0199, allocations: 43.23 kB / 499.1 MB, free: 16.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.02013, allocations: 88.81 kB / 499.2 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008614/0.02099, allocations: 1.85 MB / 0.4893 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.02114, allocations: 39.88 kB / 0.4894 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.02116, allocations: 15.59 kB / 0.4894 GB, free: 14.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * 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 (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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.0213, allocations: 287.7 kB / 0.4896 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.02135, allocations: 36.69 kB / 0.4897 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004217/0.02177, allocations: 283.4 kB / 0.4899 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.02178, allocations: 3.25 kB / 0.4899 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.02178, allocations: 4.219 kB / 0.49 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.02179, allocations: 4.438 kB / 0.49 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.0222, allocations: 470.7 kB / 0.4904 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.0222, allocations: 1.156 kB / 0.4904 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.02237, allocations: 69.55 kB / 0.4905 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.02248, allocations: 36.33 kB / 0.4905 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.0225, allocations: 7.406 kB / 0.4905 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008901/0.02339, allocations: 1.792 MB / 0.4923 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.02339, allocations: 5 kB / 0.4923 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.02378, allocations: 418 kB / 0.4927 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.02386, allocations: 60.25 kB / 0.4927 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.02389, allocations: 11.03 kB / 0.4927 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.02404, allocations: 28.84 kB / 0.4928 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.02413, allocations: 33.47 kB / 0.4928 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.02414, allocations: 12.16 kB / 0.4928 GB, free: 11.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.02426, allocations: 197.7 kB / 0.493 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02426, allocations: 0 / 0.493 GB, free: 11.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.02472, allocations: 137.3 kB / 0.4931 GB, free: 11.14 MB / 426.7 MB 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 (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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.0249, allocations: 112.4 kB / 0.4932 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009103/0.02581, allocations: 0.8474 MB / 0.4941 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.02581, allocations: 1.25 kB / 0.4941 GB, free: 10.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.02604, allocations: 279.3 kB / 0.4943 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.02636, allocations: 64.5 kB / 0.4944 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009793/0.02734, allocations: 0.5658 MB / 0.4949 GB, free: 9.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.02742, allocations: 107 kB / 0.495 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.02763, allocations: 80.59 kB / 0.4951 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.03e-05/0.02772, allocations: 31.88 kB / 0.4952 GB, free: 9.734 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02772, allocations: 0 / 0.4952 GB, free: 9.734 MB / 426.7 MB Notification: Performance of Templates: time 0.008342/0.03606, allocations: 5.196 MB / 0.5002 GB, free: 8.527 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.752656304044649]