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/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.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors",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.0007377/0.0007377, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008359/0.000836, allocations: 166.6 kB / 16.62 MB, free: 6.887 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.254/1.254, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1584/0.1584, allocations: 8.084 MB / 299.8 MB, free: 2.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 8 kB / 362.9 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/0.08988, allocations: 52.52 MB / 415.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001751/0.09168, allocations: 1.363 MB / 416.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.09355, allocations: 1.4 MB / 418.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.09377, allocations: 4 kB / 418.2 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.0941, allocations: 87.59 kB / 418.3 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.09436, allocations: 87.5 kB / 418.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.09563, allocations: 0.7475 MB / 419.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.09593, allocations: 211 kB / 419.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.0961, allocations: 93.62 kB / 419.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.271e-05/0.0962, allocations: 83.64 kB / 419.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.09638, allocations: 127.5 kB / 419.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.09642, allocations: 12 kB / 419.7 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.09675, allocations: 187.8 kB / 419.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.206e-05/0.09679, allocations: 39.8 kB / 419.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.09685, allocations: 61.64 kB / 419.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.09719, allocations: 287.5 kB / 420.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09721, allocations: 4 kB / 420.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09721, allocations: 0 / 420.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.09723, allocations: 0 / 420.2 MB, free: 3.832 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001797/0.09903, allocations: 0.7254 MB / 421 MB, free: 3.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.09907, allocations: 8.031 kB / 421 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.09915, allocations: 66.48 kB / 421 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.09921, allocations: 27.67 kB / 421.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.09942, allocations: 238.7 kB / 421.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.09945, allocations: 16.56 kB / 421.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.09949, allocations: 32 kB / 421.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.09992, allocations: 292.8 kB / 421.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.09994, allocations: 0 / 421.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.09997, allocations: 12 kB / 421.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.09998, allocations: 4 kB / 421.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.1004, allocations: 298.1 kB / 421.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.1016, allocations: 0.8931 MB / 422.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.1021, allocations: 286.5 kB / 423.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1023, allocations: 132.8 kB / 423.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.446e-05/0.1023, allocations: 7.984 kB / 423.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1024, allocations: 35 kB / 423.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.373e-06/0.1024, allocations: 4 kB / 423.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001009/0.1034, allocations: 0.5109 MB / 423.8 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1582/0.2616, allocations: 61.58 kB / 423.9 MB, free: 41.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.2618, allocations: 159.6 kB / 424 MB, free: 41.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.2619, allocations: 34.73 kB / 424 MB, free: 41.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.2619, allocations: 149.6 kB / 424.2 MB, free: 40.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.262, allocations: 90.91 kB / 424.3 MB, free: 40.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.262, allocations: 3.875 kB / 424.3 MB, free: 40.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.242e-05/0.262, allocations: 326.6 kB / 424.6 MB, free: 40.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2622, allocations: 124.9 kB / 424.7 MB, free: 40.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.2624, allocations: 136.5 kB / 424.9 MB, free: 40.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2626, allocations: 142.3 kB / 425 MB, free: 40.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2626, allocations: 0 / 425 MB, free: 40.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005934/0.2632, allocations: 409.2 kB / 425.4 MB, free: 40.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.2632, allocations: 8.656 kB / 425.4 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2632, allocations: 0.8438 kB / 425.4 MB, free: 40.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.2635, allocations: 53.33 kB / 425.5 MB, free: 40.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.2637, allocations: 63.11 kB / 425.5 MB, free: 40.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/0.2647, allocations: 1.435 MB / 426.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.2649, allocations: 19.03 kB / 427 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2649, allocations: 12.77 kB / 427 MB, free: 39.24 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: 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.265, allocations: 137.1 kB / 427.1 MB, free: 39.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.2651, allocations: 21.23 kB / 427.1 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.2657, allocations: 354.5 kB / 427.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2657, allocations: 3.219 kB / 427.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2657, allocations: 0 / 427.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.2657, allocations: 1.5 kB / 427.5 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.266, allocations: 357.9 kB / 427.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.266, allocations: 3.812 kB / 427.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.2662, allocations: 44.7 kB / 427.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/0.2663, allocations: 55.66 kB / 427.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.2664, allocations: 5.906 kB / 427.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008071/0.2672, allocations: 1.429 MB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2672, allocations: 3.312 kB / 429.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.2676, allocations: 407.6 kB / 429.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2677, allocations: 98.84 kB / 429.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.2677, allocations: 6.594 kB / 429.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2678, allocations: 3.25 kB / 429.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.2679, allocations: 18.62 kB / 429.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2679, allocations: 5.125 kB / 429.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.669e-05/0.268, allocations: 131.2 kB / 430 MB, free: 37.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.268, allocations: 1.219 kB / 430 MB, free: 37.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000336/0.2683, allocations: 80.22 kB / 430.1 MB, free: 37.26 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: 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006464/0.269, allocations: 0.9548 MB / 431.1 MB, free: 36.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006101/0.2696, allocations: 423 kB / 431.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2696, allocations: 2.828 kB / 431.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.2699, allocations: 250.9 kB / 431.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.2702, allocations: 19.52 kB / 431.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2717, allocations: 1.359 MB / 433.1 MB, free: 35.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2719, allocations: 0.7359 MB / 433.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.272, allocations: 36.91 kB / 433.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2721, allocations: 68.41 kB / 433.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2721, allocations: 3.938 kB / 433.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.2857, allocations: 4.44 MB / 438.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.2859, allocations: 204.2 kB / 438.6 MB, free: 34.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.869, allocations: 0 / 438.6 MB, free: 34.51 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesOneLineThreeSensors.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesOneLineThreeSensors.pipe 2>&1) Environment - environmentSimulation: