Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 85.3 kB / 16.66 MB, free: 5.742 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.00129/0.001291, allocations: 182.6 kB / 17.58 MB, free: 5.477 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.37/1.37, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7308/0.7308, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3838, allocations: 77.51 MB / 0.5606 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.00381/0.3877, allocations: 2.93 MB / 0.5635 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.3907, allocations: 1.833 MB / 0.5652 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3909, allocations: 7.75 kB / 0.5652 GB, free: 32.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.3911, allocations: 41.77 kB / 0.5653 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005435/0.3917, allocations: 199.4 kB / 0.5655 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.3924, allocations: 266 kB / 0.5657 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006683/0.3931, allocations: 0.5637 MB / 0.5663 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007791/0.3939, allocations: 461.9 kB / 0.5667 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.3941, allocations: 134.1 kB / 0.5669 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.3945, allocations: 198 kB / 0.567 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.3945, allocations: 13 kB / 0.5671 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.395, allocations: 272.4 kB / 0.5673 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.3952, allocations: 115.7 kB / 0.5674 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.3953, allocations: 152 kB / 0.5676 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000466/0.3958, allocations: 358.3 kB / 0.5679 GB, free: 31.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3958, allocations: 0 / 0.5679 GB, free: 31.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3958, allocations: 2.312 kB / 0.5679 GB, free: 31.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3958, allocations: 0 / 0.5679 GB, free: 31.8 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.000921/0.3968, allocations: 0.5378 MB / 0.5684 GB, free: 31.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3968, allocations: 13.95 kB / 0.5685 GB, free: 31.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.3976, allocations: 95.42 kB / 0.5685 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.3979, allocations: 267.9 kB / 0.5688 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3979, allocations: 22.36 kB / 0.5688 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.3981, allocations: 38.56 kB / 0.5689 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.3987, allocations: 453.8 kB / 0.5693 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.3988, allocations: 1.031 kB / 0.5693 GB, free: 30.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.3988, allocations: 11.7 kB / 0.5693 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.399, allocations: 39.44 kB / 0.5693 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005758/0.3996, allocations: 349.9 kB / 0.5697 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/0.4019, allocations: 2.204 MB / 0.5718 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.4024, allocations: 269.2 kB / 0.5721 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.4027, allocations: 163.7 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.4027, allocations: 4.094 kB / 0.5722 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4027, allocations: 36 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.4027, allocations: 1.562 kB / 0.5723 GB, free: 28.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001845/0.4046, allocations: 1.058 MB / 0.5733 GB, free: 27.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.4046, allocations: 58.95 kB / 0.5734 GB, free: 27.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.4049, allocations: 248.3 kB / 0.5736 GB, free: 27.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.4049, allocations: 31.39 kB / 0.5736 GB, free: 27.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.405, allocations: 186 kB / 0.5738 GB, free: 27.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.4051, allocations: 83.42 kB / 0.5739 GB, free: 27.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.4052, allocations: 39.23 kB / 0.5739 GB, free: 27.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.4052, allocations: 336.9 kB / 0.5742 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.4055, allocations: 151.8 kB / 0.5744 GB, free: 27.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.4058, allocations: 236.8 kB / 0.5746 GB, free: 26.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.4063, allocations: 399.9 kB / 0.575 GB, free: 26.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4063, allocations: 5.094 kB / 0.575 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001157/0.4075, allocations: 0.5868 MB / 0.5756 GB, free: 26.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.4075, allocations: 5.969 kB / 0.5756 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4075, allocations: 3.469 kB / 0.5756 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007245/0.4083, allocations: 193 kB / 0.5758 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.4086, allocations: 60.53 kB / 0.5758 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.4113, allocations: 2.304 MB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.4117, allocations: 18.69 kB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.4117, allocations: 17.02 kB / 0.5781 GB, free: 24.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.412, allocations: 164.5 kB / 0.5783 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.412, allocations: 28.61 kB / 0.5783 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.4127, allocations: 348.2 kB / 0.5786 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4127, allocations: 3.875 kB / 0.5786 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4127, allocations: 1.031 kB / 0.5786 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4127, allocations: 1.406 kB / 0.5786 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.4138, allocations: 0.8188 MB / 0.5794 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4138, allocations: 5.969 kB / 0.5794 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004127/0.4143, allocations: 69.55 kB / 0.5795 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4143, allocations: 7.016 kB / 0.5795 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.4143, allocations: 7.219 kB / 0.5795 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.4143, allocations: 6.312 kB / 0.5795 GB, free: 23.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4143, allocations: 5.312 kB / 0.5795 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.4151, allocations: 0.6071 MB / 0.5801 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4152, allocations: 129.6 kB / 0.5802 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.4152, allocations: 9.406 kB / 0.5803 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.4155, allocations: 13.64 kB / 0.5803 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.4155, allocations: 13.34 kB / 0.5803 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.4155, allocations: 5.656 kB / 0.5803 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.4157, allocations: 181.7 kB / 0.5805 GB, free: 23.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 1.875 kB / 0.5805 GB, free: 23.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000482/0.4162, allocations: 89.28 kB / 0.5805 GB, free: 23.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.4164, allocations: 109.5 kB / 0.5807 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009075/0.4173, allocations: 0.5368 MB / 0.5812 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.4173, allocations: 0 / 0.5812 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.4175, allocations: 149 kB / 0.5813 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005049/0.418, allocations: 56 kB / 0.5814 GB, free: 22.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.4197, allocations: 1.064 MB / 0.5824 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.42, allocations: 0.7918 MB / 0.5832 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.4201, allocations: 26.25 kB / 0.5832 GB, free: 21.54 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4201, allocations: 0 / 0.5832 GB, free: 21.54 MB / 446.1 MB Notification: Performance of Templates: time 0.007548/0.4276, allocations: 4.396 MB / 0.5875 GB, free: 20.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)