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.001523/0.001523, allocations: 109 kB / 17.04 MB, free: 5.812 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.001747/0.001747, allocations: 195 kB / 17.98 MB, free: 5.027 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7255/0.7255, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 55.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3922, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004813/0.3971, allocations: 3.25 MB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.3999, allocations: 1.863 MB / 0.5626 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.4001, allocations: 8.781 kB / 0.5626 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.4011, allocations: 290.2 kB / 0.5629 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.4017, allocations: 217.8 kB / 0.5631 GB, free: 32.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008147/0.4025, allocations: 287.1 kB / 0.5633 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005685/0.4031, allocations: 408.5 kB / 0.5637 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.4035, allocations: 194.8 kB / 0.5639 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002909/0.4038, allocations: 168.7 kB / 0.5641 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.4043, allocations: 198 kB / 0.5643 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.4044, allocations: 23.44 kB / 0.5643 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005151/0.4049, allocations: 238.2 kB / 0.5645 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4051, allocations: 120.2 kB / 0.5646 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.4053, allocations: 144.8 kB / 0.5648 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008113/0.4061, allocations: 474.5 kB / 0.5652 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.4061, allocations: 3.609 kB / 0.5652 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4061, allocations: 0 / 0.5652 GB, free: 32.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.4061, allocations: 0 / 0.5652 GB, free: 32.07 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.00109/0.4072, allocations: 0.5897 MB / 0.5658 GB, free: 31.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4073, allocations: 10.08 kB / 0.5658 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.4081, allocations: 94.59 kB / 0.5659 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.4085, allocations: 285.2 kB / 0.5662 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.4085, allocations: 16.47 kB / 0.5662 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.4086, allocations: 35.06 kB / 0.5662 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.4093, allocations: 447.8 kB / 0.5666 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4093, allocations: 1.375 kB / 0.5666 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.4093, allocations: 11.33 kB / 0.5667 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.4095, allocations: 43.88 kB / 0.5667 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.41, allocations: 349.2 kB / 0.567 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002195/0.4122, allocations: 2.196 MB / 0.5692 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000419/0.4127, allocations: 265.5 kB / 0.5694 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.4129, allocations: 165.1 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4129, allocations: 2.125 kB / 0.5696 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.413, allocations: 34.34 kB / 0.5696 GB, free: 28.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.973e-06/0.413, allocations: 4.562 kB / 0.5696 GB, free: 28.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002014/0.415, allocations: 1.053 MB / 0.5707 GB, free: 28.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.4151, allocations: 63.33 kB / 0.5707 GB, free: 28.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4154, allocations: 249.8 kB / 0.571 GB, free: 28.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.4154, allocations: 30.83 kB / 0.571 GB, free: 27.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4155, allocations: 194.3 kB / 0.5712 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.4156, allocations: 86.3 kB / 0.5713 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.4157, allocations: 74.94 kB / 0.5713 GB, free: 27.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.4158, allocations: 332.8 kB / 0.5716 GB, free: 27.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.4161, allocations: 150.8 kB / 0.5718 GB, free: 27.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.4164, allocations: 237.8 kB / 0.572 GB, free: 27.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.417, allocations: 399.9 kB / 0.5724 GB, free: 26.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.417, allocations: 1.594 kB / 0.5724 GB, free: 26.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001154/0.4181, allocations: 0.5965 MB / 0.573 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4182, allocations: 7.375 kB / 0.573 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4182, allocations: 2.75 kB / 0.573 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007817/0.419, allocations: 184.9 kB / 0.5732 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.4193, allocations: 64.22 kB / 0.5732 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/0.4221, allocations: 2.502 MB / 0.5757 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.4224, allocations: 15.48 kB / 0.5757 GB, free: 24.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.4225, allocations: 16.39 kB / 0.5757 GB, free: 24.86 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.0001836/0.4227, allocations: 166.5 kB / 0.5759 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.4227, allocations: 28.83 kB / 0.5759 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006247/0.4234, allocations: 350 kB / 0.5762 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4234, allocations: 3.891 kB / 0.5762 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.4234, allocations: 0 / 0.5762 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4234, allocations: 3.516 kB / 0.5762 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.4247, allocations: 0.8172 MB / 0.577 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4247, allocations: 2.344 kB / 0.577 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.4251, allocations: 74.16 kB / 0.5771 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4251, allocations: 1.531 kB / 0.5771 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.4252, allocations: 8.203 kB / 0.5771 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4252, allocations: 2.328 kB / 0.5771 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4252, allocations: 1.312 kB / 0.5771 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007336/0.4259, allocations: 0.6128 MB / 0.5777 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.4261, allocations: 130.8 kB / 0.5778 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.4262, allocations: 8.062 kB / 0.5778 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.4264, allocations: 13.89 kB / 0.5779 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4264, allocations: 16.47 kB / 0.5779 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.4265, allocations: 6.312 kB / 0.5779 GB, free: 23.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.4266, allocations: 182 kB / 0.578 GB, free: 23.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4266, allocations: 0.5312 kB / 0.578 GB, free: 23.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004548/0.4271, allocations: 89.16 kB / 0.5781 GB, free: 23.46 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.0001462/0.4272, allocations: 112.7 kB / 0.5782 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.4282, allocations: 0.5294 MB / 0.5788 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4282, allocations: 1.156 kB / 0.5788 GB, free: 23.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4284, allocations: 159.3 kB / 0.5789 GB, free: 23.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4289, allocations: 63.16 kB / 0.579 GB, free: 23.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.4304, allocations: 0.8327 MB / 0.5798 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4307, allocations: 0.8007 MB / 0.5806 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002368/0.431, allocations: 71.39 kB / 0.5806 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.019e-05/0.4311, allocations: 24.06 kB / 0.5807 GB, free: 21.81 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4311, allocations: 0 / 0.5807 GB, free: 21.81 MB / 446.1 MB Notification: Performance of Templates: time 0.009183/0.4403, allocations: 3.978 MB / 0.5845 GB, free: 20.93 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)