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.0009378/0.0009375, allocations: 97.06 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.0008773/0.0008774, allocations: 180.1 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.25/1.25, allocations: 223.2 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1438/0.1438, allocations: 8.088 MB / 299.7 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 11.98 kB / 362.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08837, allocations: 52.52 MB / 415.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesOneLineThreeSensors): time 0.001695/0.0901, allocations: 1.297 MB / 416.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.09163, allocations: 1.384 MB / 418 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.09171, allocations: 8 kB / 418.1 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.09194, allocations: 95.52 kB / 418.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.09213, allocations: 95.69 kB / 418.2 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.09334, allocations: 0.7474 MB / 419 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.09357, allocations: 163.7 kB / 419.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.09373, allocations: 89.62 kB / 419.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.09381, allocations: 83.7 kB / 419.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.09398, allocations: 111.5 kB / 419.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.09401, allocations: 12 kB / 419.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.09427, allocations: 175.7 kB / 419.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.031e-05/0.09431, allocations: 35.89 kB / 419.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.09436, allocations: 61.58 kB / 419.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.09466, allocations: 283.6 kB / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.09467, allocations: 0 / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09468, allocations: 0 / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.09469, allocations: 0 / 420 MB, free: 3.973 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.001912/0.09661, allocations: 0.7293 MB / 420.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.09665, allocations: 8.031 kB / 420.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.09671, allocations: 62.48 kB / 420.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/0.09677, allocations: 31.66 kB / 420.8 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.09698, allocations: 238.7 kB / 421 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.09702, allocations: 20.56 kB / 421.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.659e-05/0.09706, allocations: 24 kB / 421.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.09749, allocations: 292.8 kB / 421.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.0975, allocations: 0 / 421.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.09753, allocations: 11.94 kB / 421.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.09755, allocations: 15.94 kB / 421.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.09795, allocations: 286.1 kB / 421.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.09922, allocations: 0.9008 MB / 422.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.0997, allocations: 286.5 kB / 422.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.09975, allocations: 15.97 kB / 422.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.09978, allocations: 38.5 kB / 422.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.09978, allocations: 0 / 422.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001052/0.1008, allocations: 0.5113 MB / 423.4 MB, free: 332 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1009, allocations: 55.39 kB / 423.5 MB, free: 264 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.101, allocations: 174.2 kB / 423.6 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1011, allocations: 29.7 kB / 423.7 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1521/0.2531, allocations: 140.2 kB / 423.8 MB, free: 41.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.2532, allocations: 89.53 kB / 423.9 MB, free: 41.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.2533, allocations: 6.906 kB / 423.9 MB, free: 41.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.2533, allocations: 327.2 kB / 424.2 MB, free: 41.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2535, allocations: 128.3 kB / 424.4 MB, free: 41.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.2537, allocations: 128.9 kB / 424.5 MB, free: 41.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.2539, allocations: 148.4 kB / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2539, allocations: 0 / 424.6 MB, free: 41.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006176/0.2545, allocations: 403.7 kB / 425 MB, free: 41.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2545, allocations: 8.969 kB / 425 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2545, allocations: 0 / 425 MB, free: 41.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.2548, allocations: 48.94 kB / 425.1 MB, free: 41.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.2551, allocations: 66.69 kB / 425.1 MB, free: 41.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009941/0.2561, allocations: 1.438 MB / 426.6 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2563, allocations: 22.16 kB / 426.6 MB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.2563, allocations: 12.53 kB / 426.6 MB, free: 40.22 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.0001121/0.2564, allocations: 138.1 kB / 426.7 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.2565, allocations: 15.62 kB / 426.8 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005741/0.2571, allocations: 351.3 kB / 427.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2571, allocations: 3.875 kB / 427.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2571, allocations: 2 kB / 427.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2571, allocations: 0 / 427.1 MB, free: 40.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.2574, allocations: 363.6 kB / 427.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2574, allocations: 0.625 kB / 427.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.2576, allocations: 40.09 kB / 427.5 MB, free: 39.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001865/0.2577, allocations: 61.45 kB / 427.6 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.2578, allocations: 4.703 kB / 427.6 MB, free: 39.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008534/0.2586, allocations: 1.443 MB / 429 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2586, allocations: 0 / 429 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.2591, allocations: 401.9 kB / 429.4 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2591, allocations: 98.31 kB / 429.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.2592, allocations: 6.406 kB / 429.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.2593, allocations: 4.5 kB / 429.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.2594, allocations: 23.08 kB / 429.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.2594, allocations: 8.578 kB / 429.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.823e-05/0.2595, allocations: 128 kB / 429.7 MB, free: 38.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2595, allocations: 0 / 429.7 MB, free: 38.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.2598, allocations: 83.05 kB / 429.7 MB, free: 38.23 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.0007065/0.2605, allocations: 0.9468 MB / 430.7 MB, free: 37.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.2612, allocations: 426.7 kB / 431.1 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2612, allocations: 0.5 kB / 431.1 MB, free: 37.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2616, allocations: 252.5 kB / 431.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.2617, allocations: 6.812 kB / 431.4 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.2626, allocations: 0.7884 MB / 432.2 MB, free: 36.81 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.2628, allocations: 0.7441 MB / 432.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.2629, allocations: 29.67 kB / 432.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.508e-05/0.263, allocations: 73.97 kB / 433 MB, free: 36.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.263, allocations: 0 / 433 MB, free: 36.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.2768, allocations: 4.383 MB / 437.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001202/0.277, allocations: 197.5 kB / 437.6 MB, free: 35.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/1.836, allocations: 0 / 437.6 MB, free: 35.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: