Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.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.0008508/0.0008507, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009126/0.0009126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 222.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.607/1.607, allocations: 252 MB / 0.5102 GB, free: 4.777 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.0005743, allocations: 12 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.586, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.003977/0.5901, allocations: 3.113 MB / 0.7312 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.5927, allocations: 1.665 MB / 0.7328 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.5928, allocations: 4 kB / 0.7328 GB, free: 6.578 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.593, allocations: 31.72 kB / 0.7328 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.5934, allocations: 155.3 kB / 0.733 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.5939, allocations: 183.5 kB / 0.7332 GB, free: 6.215 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004052/0.5944, allocations: 418.7 kB / 0.7336 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.5951, allocations: 394.5 kB / 0.7339 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.5953, allocations: 123.5 kB / 0.734 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.5956, allocations: 167.4 kB / 0.7342 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.5956, allocations: 12 kB / 0.7342 GB, free: 5.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.5959, allocations: 139.8 kB / 0.7344 GB, free: 4.965 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.596, allocations: 87.72 kB / 0.7344 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.074e-05/0.5961, allocations: 69.58 kB / 0.7345 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.5965, allocations: 345.1 kB / 0.7348 GB, free: 4.469 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5965, allocations: 0 / 0.7348 GB, free: 4.469 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5965, allocations: 4 kB / 0.7348 GB, free: 4.465 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.5965, allocations: 0 / 0.7348 GB, free: 4.465 MB / 0.545 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.001068/0.5976, allocations: 0.6057 MB / 0.7354 GB, free: 3.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.5976, allocations: 8.031 kB / 0.7354 GB, free: 3.793 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006589/0.5983, allocations: 95.48 kB / 0.7355 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.5986, allocations: 274.5 kB / 0.7358 GB, free: 3.391 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.5987, allocations: 16.42 kB / 0.7358 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.5987, allocations: 20 kB / 0.7358 GB, free: 3.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.5995, allocations: 430.5 kB / 0.7362 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5995, allocations: 0 / 0.7362 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.351e-05/0.5996, allocations: 8 kB / 0.7362 GB, free: 2.902 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.5997, allocations: 24.36 kB / 0.7363 GB, free: 2.875 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000897/0.6006, allocations: 420.7 kB / 0.7367 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.6024, allocations: 1.607 MB / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.6035, allocations: 493.2 kB / 0.7387 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/0.6039, allocations: 205.6 kB / 0.7389 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.6041, allocations: 97.08 kB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000578/0.6047, allocations: 276.6 kB / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.6047, allocations: 0 / 0.7393 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28): time 0.002006/0.6067, allocations: 0.7763 MB / 0.74 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.6068, allocations: 89.03 kB / 0.7401 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.6071, allocations: 225 kB / 0.7403 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.6071, allocations: 29.7 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.6073, allocations: 160.4 kB / 0.7405 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.6074, allocations: 98.64 kB / 0.7406 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.6074, allocations: 8 kB / 0.7406 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.6076, allocations: 334.8 kB / 0.7409 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.608, allocations: 184.2 kB / 0.7411 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004497/0.6084, allocations: 257.3 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.6089, allocations: 247.2 kB / 0.7416 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6089, allocations: 0 / 0.7416 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001077/0.61, allocations: 0.5522 MB / 0.7421 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.6102, allocations: 198.3 kB / 0.7423 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6102, allocations: 0 / 0.7423 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/0.6104, allocations: 40.83 kB / 0.7423 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.6108, allocations: 91.86 kB / 0.7424 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.6123, allocations: 1.497 MB / 0.7439 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.6126, allocations: 55.77 kB / 0.7439 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.6126, allocations: 16 kB / 0.744 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/0.6127, allocations: 4 kB / 0.744 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001022/0.6137, allocations: 0.4943 MB / 0.7444 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.6137, allocations: 0 / 0.7444 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.6138, allocations: 48.75 kB / 0.7445 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003372/0.6142, allocations: 87.98 kB / 0.7446 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.6156, allocations: 1.477 MB / 0.746 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.6159, allocations: 47.88 kB / 0.7461 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.6159, allocations: 19.98 kB / 0.7461 GB, free: 8.18 MB / 0.5606 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.0002826/0.6162, allocations: 233 kB / 0.7463 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.6163, allocations: 23.72 kB / 0.7463 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.6173, allocations: 0.4891 MB / 0.7468 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.6173, allocations: 4 kB / 0.7468 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.6173, allocations: 0 / 0.7468 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6174, allocations: 8.125 kB / 0.7468 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.6181, allocations: 0.5662 MB / 0.7474 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6181, allocations: 0 / 0.7474 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/0.6185, allocations: 83.84 kB / 0.7475 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.6186, allocations: 40.92 kB / 0.7475 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.6186, allocations: 12.05 kB / 0.7475 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.6197, allocations: 1.409 MB / 0.7489 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.6197, allocations: 4.031 kB / 0.7489 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009454/0.6207, allocations: 0.5576 MB / 0.7494 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6208, allocations: 140.7 kB / 0.7496 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.6209, allocations: 8 kB / 0.7496 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.6212, allocations: 39.95 kB / 0.7496 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.6213, allocations: 39.78 kB / 0.7496 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.6213, allocations: 12 kB / 0.7497 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001807/0.6215, allocations: 172.5 kB / 0.7498 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6215, allocations: 3.938 kB / 0.7498 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005678/0.6221, allocations: 132 kB / 0.7499 GB, free: 3.945 MB / 0.5606 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.0001944/0.6223, allocations: 106.6 kB / 0.7501 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.6241, allocations: 1.016 MB / 0.751 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6241, allocations: 0 / 0.751 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005864/0.6247, allocations: 338.8 kB / 0.7514 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.6252, allocations: 44.97 kB / 0.7514 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.6264, allocations: 0.7366 MB / 0.7521 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.6268, allocations: 0.7839 MB / 0.7529 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.6271, allocations: 98.33 kB / 0.753 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.09e-05/0.6272, allocations: 27.42 kB / 0.753 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of SimCode: time 2.315e-06/0.6272, allocations: 0 / 0.753 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of Templates: time 0.00813/0.6353, allocations: 4.046 MB / 0.757 GB, free: 12.68 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: