Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.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/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.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(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") translateModel(ObjectStab.Examples.KundurHJW.SystemPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.127/0.127, allocations: 6.939 MB / 297.3 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 59.91 kB / 359.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07958/0.08069, allocations: 51.08 MB / 410.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.SystemPV): time 0.006354/0.08706, allocations: 6.059 MB / 416.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.08877, allocations: 1.223 MB / 417.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.08902, allocations: 16 kB / 417.8 MB, free: 5.176 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/Base/wRefContainer.mo:4:3-4:80:writable] Warning: Connector wr is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.08932, allocations: 174.2 kB / 418 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007595/0.09009, allocations: 464.6 kB / 418.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.09102, allocations: 0.9516 MB / 419.4 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.09255, allocations: 2.026 MB / 421.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008406/0.0934, allocations: 0.783 MB / 422.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1373/0.2307, allocations: 0.9976 MB / 423.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001646/0.2324, allocations: 1.432 MB / 424.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.2327, allocations: 237.5 kB / 424.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.233, allocations: 235.3 kB / 425.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003539/0.2334, allocations: 0.4945 MB / 425.6 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.2339, allocations: 0.8368 MB / 426.4 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.235, allocations: 1.882 MB / 428.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.235, allocations: 0 / 428.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.235, allocations: 0 / 428.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.2351, allocations: 0 / 428.3 MB, free: 36.14 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.004517/0.2396, allocations: 1.907 MB / 430.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2396, allocations: 8.625 kB / 430.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002235/0.2399, allocations: 145.9 kB / 430.3 MB, free: 35.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.2405, allocations: 0.6077 MB / 430.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2406, allocations: 212.2 kB / 431.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.2408, allocations: 134.3 kB / 431.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.2427, allocations: 1.396 MB / 432.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.2427, allocations: 0 / 432.7 MB, free: 34.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.2429, allocations: 56.81 kB / 432.7 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.2429, allocations: 33.27 kB / 432.8 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.2451, allocations: 1.537 MB / 434.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007415/0.2525, allocations: 5.451 MB / 439.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2551, allocations: 2.45 MB / 442.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009873/0.2561, allocations: 0.8751 MB / 443.1 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.2562, allocations: 29.16 kB / 443.1 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.2573, allocations: 0.8597 MB / 444 MB, free: 28.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=159): time 4.769e-06/0.2573, allocations: 0 / 444 MB, free: 28.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=159): time 0.06839/0.3257, allocations: 13.6 MB / 457.6 MB, free: 26.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.3258, allocations: 72.09 kB / 457.6 MB, free: 26.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.3263, allocations: 435.3 kB / 458.1 MB, free: 26.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.3265, allocations: 51.39 kB / 458.1 MB, free: 26.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.3267, allocations: 440.3 kB / 458.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003716/0.3271, allocations: 0.5149 MB / 459.1 MB, free: 25.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004096/0.3275, allocations: 226.6 kB / 459.3 MB, free: 25.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.3276, allocations: 339.7 kB / 459.6 MB, free: 25.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009646/0.3285, allocations: 0.5953 MB / 460.2 MB, free: 24.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.3296, allocations: 0.8206 MB / 461 MB, free: 24.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.3316, allocations: 1.51 MB / 462.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3316, allocations: 2.75 kB / 462.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01612/0.3478, allocations: 4.148 MB / 466.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.3478, allocations: 8.719 kB / 466.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3479, allocations: 5.312 kB / 466.7 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01756/0.3654, allocations: 3.494 MB / 470.2 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.3661, allocations: 147.1 kB / 470.3 MB, free: 20.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/0.3899, allocations: 12.89 MB / 483.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.3912, allocations: 130.6 kB / 483.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.3913, allocations: 48.31 kB / 483.4 MB, free: 12.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 (PV_4.online,PV_3.online,PV_2.online,PV_1.online,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,76)} Notification: Performance of prepare postOptimizeDAE: time 0.0004593/0.3917, allocations: 274.4 kB / 483.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3919, allocations: 94.73 kB / 483.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/0.4078, allocations: 4.199 MB / 488 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4079, allocations: 12 kB / 488 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4079, allocations: 0 / 488 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.4079, allocations: 13.84 kB / 488 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/0.425, allocations: 5.778 MB / 493.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/0.4251, allocations: 6.609 kB / 493.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.4256, allocations: 97.2 kB / 493.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01664/0.4422, allocations: 3.391 MB / 497.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003701/0.4426, allocations: 28 kB / 497.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.025/0.4676, allocations: 11.99 MB / 0.4973 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4677, allocations: 0 / 0.4973 GB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.4841, allocations: 4.064 MB / 0.5013 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.4844, allocations: 171.8 kB / 0.5015 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.4847, allocations: 31.94 kB / 0.5015 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/0.4857, allocations: 40.86 kB / 0.5015 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000631/0.4863, allocations: 130.1 kB / 0.5017 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4865, allocations: 44 kB / 0.5017 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003202/0.4868, allocations: 298.9 kB / 0.502 GB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4868, allocations: 0 / 0.502 GB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001729/0.4885, allocations: 0.5966 MB / 0.5026 GB, free: 13.96 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,PV_1.online,PV_2.online,PV_3.online,PV_4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 65 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,74)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.4887, allocations: 136.6 kB / 0.5027 GB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006312/0.4951, allocations: 2.516 MB / 0.5052 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4951, allocations: 0 / 0.5052 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004801/0.4999, allocations: 1.718 MB / 0.5068 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.5014, allocations: 189.8 kB / 0.507 GB, free: 9.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/0.5055, allocations: 2.139 MB / 0.5091 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.5062, allocations: 1.111 MB / 0.5102 GB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004303/0.5067, allocations: 79.44 kB / 0.5103 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5068, allocations: 51.42 kB / 0.5103 GB, free: 6.008 MB / 382.1 MB Notification: Performance of SimCode: time 2.003e-06/0.5068, allocations: 0 / 0.5103 GB, free: 6.008 MB / 382.1 MB Notification: Performance of Templates: time 0.05775/0.5646, allocations: 41.72 MB / 0.5511 GB, free: 12.44 MB / 430.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.SystemPV.pipe 2>&1)