Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.VariableLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 95.34 kB / 15.73 MB, free: 440 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.001086/0.001086, allocations: 181.6 kB / 16.61 MB, free: 6.422 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.248/1.248, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1478/0.1478, allocations: 8.082 MB / 299.7 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 12 kB / 362.8 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08961/0.08991, allocations: 52.52 MB / 415.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.002421/0.09237, allocations: 1.9 MB / 417.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.09561, allocations: 2.4 MB / 419.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.09586, allocations: 8 kB / 419.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.09633, allocations: 119.3 kB / 419.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007198/0.09706, allocations: 263.2 kB / 420 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.09892, allocations: 1.043 MB / 421.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004964/0.09943, allocations: 275.4 kB / 421.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.09963, allocations: 101.9 kB / 421.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.09983, allocations: 143.5 kB / 421.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.1001, allocations: 175.3 kB / 421.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.1002, allocations: 23.94 kB / 421.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005625/0.1008, allocations: 267.7 kB / 422.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.1009, allocations: 63.73 kB / 422.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.973e-05/0.101, allocations: 85.52 kB / 422.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.1015, allocations: 447 kB / 422.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1015, allocations: 0 / 422.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1015, allocations: 0 / 422.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1016, allocations: 0 / 422.6 MB, free: 1.344 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004022/0.1056, allocations: 1.173 MB / 423.8 MB, free: 124 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1056, allocations: 12.03 kB / 423.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.558e-05/0.1057, allocations: 66.53 kB / 423.9 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1506/0.2563, allocations: 47.84 kB / 423.9 MB, free: 41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/0.2569, allocations: 314 kB / 424.2 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.365e-05/0.257, allocations: 48.17 kB / 424.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.257, allocations: 29.78 kB / 424.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006889/0.2577, allocations: 443.6 kB / 424.7 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2578, allocations: 0 / 424.7 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.2578, allocations: 14.12 kB / 424.8 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2578, allocations: 11.59 kB / 424.8 MB, free: 40.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.2584, allocations: 383 kB / 425.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.2605, allocations: 1.765 MB / 426.9 MB, free: 39.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007808/0.2613, allocations: 0.4905 MB / 427.4 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.2613, allocations: 6.734 kB / 427.4 MB, free: 39.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004547/0.2618, allocations: 325.6 kB / 427.7 MB, free: 39.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.265e-06/0.2618, allocations: 0 / 427.7 MB, free: 39.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.003724/0.2655, allocations: 1.337 MB / 429.1 MB, free: 39.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2656, allocations: 112.6 kB / 429.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2658, allocations: 293.4 kB / 429.5 MB, free: 39.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.2659, allocations: 34.86 kB / 429.5 MB, free: 39.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.266, allocations: 165.7 kB / 429.7 MB, free: 39.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.644e-05/0.2661, allocations: 139.6 kB / 429.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.2661, allocations: 10.38 kB / 429.8 MB, free: 39.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.2661, allocations: 344.6 kB / 430.1 MB, free: 38.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.2665, allocations: 257.2 kB / 430.4 MB, free: 38.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.2669, allocations: 308.8 kB / 430.7 MB, free: 38.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.2672, allocations: 280.7 kB / 431 MB, free: 38.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2672, allocations: 0 / 431 MB, free: 38.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001663/0.2689, allocations: 0.9029 MB / 431.9 MB, free: 38.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2689, allocations: 3.125 kB / 431.9 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.269, allocations: 3.094 kB / 431.9 MB, free: 38.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.2715, allocations: 0.6079 MB / 432.5 MB, free: 38.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.2717, allocations: 79.92 kB / 432.6 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.273, allocations: 1.08 MB / 433.6 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2734, allocations: 48.28 kB / 433.7 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.2734, allocations: 19.5 kB / 433.7 MB, free: 37.77 MB / 350.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: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {7 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.2736, allocations: 155.6 kB / 433.9 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/0.2736, allocations: 31.84 kB / 433.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2747, allocations: 0.7915 MB / 434.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2747, allocations: 3.438 kB / 434.7 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2748, allocations: 11.17 kB / 434.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2748, allocations: 0 / 434.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.2752, allocations: 0.5568 MB / 435.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2752, allocations: 0 / 435.3 MB, free: 36.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.2754, allocations: 55.81 kB / 435.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.2777, allocations: 0.5858 MB / 435.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.2777, allocations: 10.92 kB / 435.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/0.279, allocations: 1.072 MB / 437 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.279, allocations: 1.5 kB / 437 MB, free: 35.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/0.2799, allocations: 0.7435 MB / 437.7 MB, free: 35.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.2799, allocations: 117.8 kB / 437.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.28, allocations: 7.219 kB / 437.8 MB, free: 35.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.2803, allocations: 27.03 kB / 437.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.2804, allocations: 30.73 kB / 437.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.2804, allocations: 14.34 kB / 437.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.2806, allocations: 203.4 kB / 438.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2806, allocations: 4 kB / 438.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.281, allocations: 132.5 kB / 438.2 MB, free: 35.24 MB / 350.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 1 {7 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/0.2828, allocations: 1.602 MB / 439.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.2842, allocations: 0.7001 MB / 440.5 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2842, allocations: 3.062 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.2853, allocations: 392.7 kB / 440.9 MB, free: 33.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.2855, allocations: 39.83 kB / 441 MB, free: 33.82 MB / 350.1 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.287, allocations: 1.172 MB / 442.1 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.2871, allocations: 0.8035 MB / 442.9 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.2873, allocations: 56.7 kB / 443 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.2875, allocations: 122.9 kB / 443.1 MB, free: 32.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2875, allocations: 0 / 443.1 MB, free: 32.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/0.3979, allocations: 10.44 MB / 453.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001217/0.398, allocations: 227 kB / 453.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.146, allocations: 0 / 453.8 MB, free: 31.22 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_VariableLoad_fmu --startTime=0 --stopTime=3.15324e+07 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_VariableLoad.fmu > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) Environment - environmentSimulation: