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.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: translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 93.28 kB / 16.67 MB, free: 6.109 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.001406/0.001406, allocations: 186 kB / 17.58 MB, free: 5.82 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.356/1.356, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 115.5 MB / 408.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003639, allocations: 16 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3636, allocations: 77.51 MB / 0.5606 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003472/0.3671, allocations: 3.208 MB / 0.5637 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.3697, allocations: 1.716 MB / 0.5654 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.3699, allocations: 6.438 kB / 0.5654 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3701, allocations: 36.11 kB / 0.5654 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.3706, allocations: 185.6 kB / 0.5656 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.3713, allocations: 225.8 kB / 0.5658 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005205/0.3718, allocations: 0.4968 MB / 0.5663 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007138/0.3725, allocations: 407.4 kB / 0.5667 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.3728, allocations: 132.9 kB / 0.5668 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.3731, allocations: 178 kB / 0.567 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3731, allocations: 17.62 kB / 0.567 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.3737, allocations: 308.7 kB / 0.5673 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.3738, allocations: 81.05 kB / 0.5674 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3739, allocations: 153.3 kB / 0.5675 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.3744, allocations: 351.7 kB / 0.5679 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3744, allocations: 1.031 kB / 0.5679 GB, free: 31.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3744, allocations: 2.016 kB / 0.5679 GB, free: 31.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3744, allocations: 0 / 0.5679 GB, free: 31.12 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001002/0.3754, allocations: 0.6024 MB / 0.5685 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3754, allocations: 9.375 kB / 0.5685 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.3762, allocations: 96.78 kB / 0.5686 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.3765, allocations: 285.9 kB / 0.5688 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3765, allocations: 14.22 kB / 0.5689 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.3766, allocations: 27.22 kB / 0.5689 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007919/0.3774, allocations: 432.6 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3774, allocations: 0 / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3774, allocations: 10.64 kB / 0.5693 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/0.3775, allocations: 28.39 kB / 0.5693 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000901/0.3784, allocations: 416.3 kB / 0.5697 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3799, allocations: 1.611 MB / 0.5713 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.3811, allocations: 491.1 kB / 0.5718 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.3816, allocations: 202.6 kB / 0.572 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.3817, allocations: 93.09 kB / 0.572 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005688/0.3823, allocations: 274.9 kB / 0.5723 GB, free: 28.26 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.3823, allocations: 1.438 kB / 0.5723 GB, free: 28.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001866/0.3841, allocations: 0.7849 MB / 0.5731 GB, free: 27.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.3842, allocations: 81.03 kB / 0.5732 GB, free: 27.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3844, allocations: 230.5 kB / 0.5734 GB, free: 27.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3844, allocations: 33.11 kB / 0.5734 GB, free: 27.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.3845, allocations: 160.2 kB / 0.5736 GB, free: 27.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.464e-05/0.3846, allocations: 103.4 kB / 0.5737 GB, free: 27.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.174e-05/0.3847, allocations: 31.2 kB / 0.5737 GB, free: 27.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.3847, allocations: 336.8 kB / 0.574 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.3851, allocations: 183 kB / 0.5742 GB, free: 27.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.3856, allocations: 252.9 kB / 0.5744 GB, free: 26.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008737/0.3865, allocations: 486.9 kB / 0.5749 GB, free: 26.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3865, allocations: 1.844 kB / 0.5749 GB, free: 26.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001142/0.3876, allocations: 0.5633 MB / 0.5754 GB, free: 26.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.221e-05/0.3877, allocations: 190.4 kB / 0.5756 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3878, allocations: 4.531 kB / 0.5756 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/0.388, allocations: 39.67 kB / 0.5757 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.3884, allocations: 94.95 kB / 0.5758 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.3895, allocations: 1.507 MB / 0.5772 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.3898, allocations: 51.7 kB / 0.5773 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.3899, allocations: 22.8 kB / 0.5773 GB, free: 24.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.3899, allocations: 4.344 kB / 0.5773 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/0.391, allocations: 0.4956 MB / 0.5778 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.391, allocations: 5.625 kB / 0.5778 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/0.3911, allocations: 40.38 kB / 0.5778 GB, free: 24.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.3915, allocations: 91.72 kB / 0.5779 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009003/0.3924, allocations: 1.488 MB / 0.5794 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.3927, allocations: 46.78 kB / 0.5794 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.3928, allocations: 15.97 kB / 0.5794 GB, free: 23.14 MB / 446.1 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.000243/0.393, allocations: 239.2 kB / 0.5797 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.3931, allocations: 28.75 kB / 0.5797 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.3942, allocations: 495.8 kB / 0.5802 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3942, allocations: 7.938 kB / 0.5802 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3942, allocations: 128 / 0.5802 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3943, allocations: 2.672 kB / 0.5802 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006258/0.3949, allocations: 0.5737 MB / 0.5807 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3949, allocations: 1.25 kB / 0.5807 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.3953, allocations: 83.47 kB / 0.5808 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.3954, allocations: 34.86 kB / 0.5808 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3955, allocations: 7.469 kB / 0.5808 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008101/0.3963, allocations: 1.415 MB / 0.5822 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3963, allocations: 1.734 kB / 0.5822 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3973, allocations: 0.5642 MB / 0.5828 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3975, allocations: 133.6 kB / 0.5829 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3975, allocations: 7.375 kB / 0.5829 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.3979, allocations: 40.95 kB / 0.583 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.398, allocations: 31.31 kB / 0.583 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.398, allocations: 11.84 kB / 0.583 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.3982, allocations: 170.6 kB / 0.5832 GB, free: 20.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3982, allocations: 0 / 0.5832 GB, free: 20.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.3988, allocations: 132.3 kB / 0.5833 GB, free: 20.35 MB / 446.1 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.0001447/0.399, allocations: 117.7 kB / 0.5834 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.4008, allocations: 1.024 MB / 0.5844 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4008, allocations: 3.938 kB / 0.5844 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00064/0.4015, allocations: 340.3 kB / 0.5847 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.402, allocations: 42.2 kB / 0.5848 GB, free: 19.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.4032, allocations: 0.769 MB / 0.5855 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.4034, allocations: 0.7858 MB / 0.5863 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.4036, allocations: 27.48 kB / 0.5863 GB, free: 18.29 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4036, allocations: 0 / 0.5863 GB, free: 18.29 MB / 446.1 MB Notification: Performance of Templates: time 0.008232/0.4118, allocations: 5.083 MB / 0.5913 GB, free: 16.57 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)