Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.0008004/0.0008005, allocations: 96.39 kB / 15.74 MB, free: 424 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.0008168/0.0008169, allocations: 171 kB / 16.62 MB, free: 6.434 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.242/1.242, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1543/0.1543, allocations: 8.086 MB / 299.8 MB, free: 2.836 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003124, allocations: 12 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09229, allocations: 52.51 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.0009728/0.09331, allocations: 0.5513 MB / 416 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.09472, allocations: 1.229 MB / 417.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.09477, allocations: 4 kB / 417.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.09494, allocations: 43.84 kB / 417.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.09507, allocations: 43.75 kB / 417.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.09562, allocations: 279.1 kB / 417.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.896e-05/0.09571, allocations: 59.67 kB / 417.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.09581, allocations: 27.91 kB / 417.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.09585, allocations: 35.84 kB / 417.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.09597, allocations: 39.84 kB / 417.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.09599, allocations: 0 / 417.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.09617, allocations: 99.88 kB / 417.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.09619, allocations: 3.938 kB / 417.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.09622, allocations: 41.64 kB / 417.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.09639, allocations: 108 kB / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0964, allocations: 0 / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0964, allocations: 0 / 418 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.09642, allocations: 4 kB / 418 MB, free: 6.051 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007366/0.09716, allocations: 423 kB / 418.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.0972, allocations: 12.03 kB / 418.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.09726, allocations: 38.55 kB / 418.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.0973, allocations: 11.86 kB / 418.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.09746, allocations: 175 kB / 418.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.09748, allocations: 4 kB / 418.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.0975, allocations: 8 kB / 418.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.09766, allocations: 105.5 kB / 418.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.09768, allocations: 4 kB / 418.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.09769, allocations: 4 kB / 418.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.0977, allocations: 3.938 kB / 418.8 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.09782, allocations: 71.92 kB / 418.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.09835, allocations: 388.6 kB / 419.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.09866, allocations: 110.6 kB / 419.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.807e-05/0.09872, allocations: 28.86 kB / 419.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.09876, allocations: 4 kB / 419.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.09879, allocations: 34.55 kB / 419.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.0988, allocations: 0 / 419.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005439/0.09935, allocations: 247.4 kB / 419.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.0994, allocations: 51.41 kB / 419.7 MB, free: 4.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.09956, allocations: 134.1 kB / 419.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.0996, allocations: 29.7 kB / 419.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.0997, allocations: 100.1 kB / 420 MB, free: 3.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.09972, allocations: 23.81 kB / 420 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.09974, allocations: 4 kB / 420 MB, free: 3.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.09988, allocations: 318.8 kB / 420.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.09994, allocations: 31.98 kB / 420.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.1, allocations: 31.94 kB / 420.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.974e-05/0.1001, allocations: 47.88 kB / 420.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1001, allocations: 0 / 420.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002644/0.1004, allocations: 142.4 kB / 420.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1004, allocations: 4 kB / 420.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1004, allocations: 0 / 420.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/0.1007, allocations: 40.83 kB / 420.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.1007, allocations: 15.98 kB / 420.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.102, allocations: 1.331 MB / 421.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.1021, allocations: 7.938 kB / 421.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.1021, allocations: 4.031 kB / 421.9 MB, free: 1.723 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 (9): * Single equations (assignments): 8 * 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 9.908e-05/0.1023, allocations: 122.3 kB / 422.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1023, allocations: 8 kB / 422.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1026, allocations: 130.8 kB / 422.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1026, allocations: 0 / 422.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1026, allocations: 0 / 422.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1026, allocations: 3.953 kB / 422.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1028, allocations: 209.5 kB / 422.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1028, allocations: 0 / 422.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1029, allocations: 11.94 kB / 422.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.103, allocations: 40.83 kB / 422.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.103, allocations: 0 / 422.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/0.104, allocations: 1.327 MB / 423.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.104, allocations: 0 / 423.8 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1042, allocations: 212.3 kB / 424 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.1043, allocations: 93.23 kB / 424.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1043, allocations: 0 / 424.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.1044, allocations: 16.08 kB / 424.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.1045, allocations: 15.89 kB / 424.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1045, allocations: 4 kB / 424.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.548e-05/0.1046, allocations: 111.2 kB / 424.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1046, allocations: 0 / 424.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1049, allocations: 24 kB / 424.3 MB, free: 15.16 MB / 366.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 (6): * Single equations (assignments): 5 * 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.0006129/0.1055, allocations: 0.7522 MB / 425 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.1059, allocations: 194.6 kB / 425.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1059, allocations: 8 kB / 425.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1061, allocations: 146.6 kB / 425.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.1064, allocations: 18.75 kB / 425.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009945/0.1074, allocations: 0.6606 MB / 426 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.1077, allocations: 0.6926 MB / 426.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.424e-05/0.1077, allocations: 16.66 kB / 426.7 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.1078, allocations: 27.42 kB / 426.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1078, allocations: 0 / 426.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1208, allocations: 2.532 MB / 429.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.121, allocations: 191.7 kB / 429.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.691, allocations: 3.938 kB / 429.5 MB, free: 9.879 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1) Environment - environmentSimulation: