Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") translateModel(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001083, allocations: 105.4 kB / 16.56 MB, free: 6.719 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.001123/0.001123, allocations: 193.9 kB / 17.48 MB, free: 6.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.322/1.322, allocations: 222.9 MB / 241.2 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04702/0.04702, allocations: 8.103 MB / 299.4 MB, free: 6.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 361.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2389, allocations: 51.51 MB / 413.2 MB, free: 25.87 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.00254/0.2415, allocations: 1.812 MB / 415 MB, free: 24.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.2432, allocations: 1.469 MB / 416.5 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.2433, allocations: 4 kB / 416.5 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.2437, allocations: 111.6 kB / 416.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.244, allocations: 91.48 kB / 416.7 MB, free: 22.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.2453, allocations: 0.898 MB / 417.6 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.2455, allocations: 226.9 kB / 417.8 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.2457, allocations: 103.3 kB / 417.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.2458, allocations: 95.64 kB / 418 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.246, allocations: 143.4 kB / 418.1 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.246, allocations: 16 kB / 418.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.2464, allocations: 199.8 kB / 418.3 MB, free: 20.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.2464, allocations: 51.77 kB / 418.4 MB, free: 20.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.2465, allocations: 115.3 kB / 418.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.2468, allocations: 297.2 kB / 418.8 MB, free: 20.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2469, allocations: 4 kB / 418.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2469, allocations: 0 / 418.8 MB, free: 20.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.2469, allocations: 0 / 418.8 MB, free: 20.23 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001949/0.2488, allocations: 0.7646 MB / 419.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2489, allocations: 15.97 kB / 419.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.745e-05/0.2489, allocations: 24.66 kB / 419.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.2492, allocations: 244.8 kB / 419.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.2492, allocations: 16.94 kB / 419.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.2492, allocations: 28.38 kB / 419.9 MB, free: 19.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.2496, allocations: 297.4 kB / 420.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.2496, allocations: 3.938 kB / 420.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2497, allocations: 12 kB / 420.2 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2497, allocations: 12 kB / 420.2 MB, free: 18.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.2501, allocations: 290.1 kB / 420.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2512, allocations: 0.8891 MB / 421.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.2516, allocations: 290.4 kB / 421.7 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.2518, allocations: 128.8 kB / 421.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.2519, allocations: 7.984 kB / 421.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2519, allocations: 38.56 kB / 421.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.2519, allocations: 0 / 421.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.00112/0.253, allocations: 0.5205 MB / 422.4 MB, free: 16.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.2531, allocations: 55.41 kB / 422.4 MB, free: 16.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.2532, allocations: 171.2 kB / 422.6 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.2532, allocations: 29.7 kB / 422.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.2533, allocations: 140.4 kB / 422.7 MB, free: 16.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.2533, allocations: 86.75 kB / 422.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.2534, allocations: 81.44 kB / 422.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.2535, allocations: 322.8 kB / 423.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.2537, allocations: 128 kB / 423.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.2539, allocations: 131.8 kB / 423.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.2542, allocations: 285.4 kB / 423.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2542, allocations: 7.875 kB / 423.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005813/0.2548, allocations: 405.8 kB / 424.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2548, allocations: 8 kB / 424.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.2548, allocations: 0 / 424.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002816/0.2551, allocations: 56.77 kB / 424.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.2554, allocations: 59.89 kB / 424.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.2565, allocations: 1.44 MB / 425.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.2566, allocations: 23.72 kB / 425.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.2567, allocations: 11.98 kB / 425.8 MB, free: 12.89 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (35): * Single equations (assignments): 34 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.2568, allocations: 145.9 kB / 425.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.2568, allocations: 11.81 kB / 425.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.2574, allocations: 360.4 kB / 426.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2574, allocations: 4 kB / 426.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2574, allocations: 4 kB / 426.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2575, allocations: 0 / 426.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.2577, allocations: 357.3 kB / 426.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2577, allocations: 3.938 kB / 426.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.2579, allocations: 39.98 kB / 426.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.2581, allocations: 48.81 kB / 426.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.2581, allocations: 7.938 kB / 426.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008998/0.259, allocations: 1.436 MB / 428.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2591, allocations: 4 kB / 428.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004815/0.2595, allocations: 404.5 kB / 428.6 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2596, allocations: 100.8 kB / 428.7 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.2596, allocations: 4 kB / 428.7 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.2598, allocations: 4 kB / 428.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.2598, allocations: 16.05 kB / 428.7 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2598, allocations: 12 kB / 428.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.2599, allocations: 130.7 kB / 428.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2599, allocations: 0 / 428.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.2603, allocations: 79.84 kB / 428.9 MB, free: 9.52 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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: 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002096/0.2605, allocations: 123.2 kB / 429 MB, free: 9.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.2612, allocations: 430.4 kB / 429.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2612, allocations: 0 / 429.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.2616, allocations: 250.5 kB / 429.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.2619, allocations: 25.09 kB / 429.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000806/0.2627, allocations: 0.5693 MB / 430.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2628, allocations: 0.7436 MB / 431 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.2629, allocations: 27.44 kB / 431 MB, free: 7.281 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.2629, allocations: 0 / 431 MB, free: 7.281 MB / 302.1 MB Notification: Performance of Templates: time 0.004744/0.2677, allocations: 4.086 MB / 435.1 MB, free: 3.195 MB / 302.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1)