Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.001365/0.001365, allocations: 95.81 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.001687/0.001687, allocations: 180.8 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.322/1.322, allocations: 223.2 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1536/0.1536, allocations: 8.083 MB / 299.7 MB, free: 2.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.0003171, allocations: 8 kB / 362.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09165, allocations: 52.51 MB / 415.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLoad): time 0.001412/0.09311, allocations: 0.655 MB / 416 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.09455, allocations: 1.053 MB / 417.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.09464, allocations: 4 kB / 417.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.09489, allocations: 47.75 kB / 417.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.09506, allocations: 35.89 kB / 417.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.09568, allocations: 259.2 kB / 417.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.09581, allocations: 55.8 kB / 417.5 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.09595, allocations: 35.94 kB / 417.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.969e-05/0.09601, allocations: 19.94 kB / 417.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.09617, allocations: 43.83 kB / 417.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.0962, allocations: 4 kB / 417.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.09637, allocations: 55.97 kB / 417.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.09641, allocations: 19.91 kB / 417.6 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.09645, allocations: 37.64 kB / 417.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.09664, allocations: 92.02 kB / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.09665, allocations: 0 / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09666, allocations: 0 / 417.8 MB, free: 6.195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.09667, allocations: 0 / 417.8 MB, free: 6.195 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007458/0.09743, allocations: 415 kB / 418.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.09748, allocations: 8.031 kB / 418.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.195e-05/0.09754, allocations: 42.55 kB / 418.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.09758, allocations: 11.86 kB / 418.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.09777, allocations: 178.9 kB / 418.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.09779, allocations: 4 kB / 418.4 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.09781, allocations: 8 kB / 418.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.09798, allocations: 85.59 kB / 418.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.09799, allocations: 0 / 418.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.09802, allocations: 12 kB / 418.5 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.09803, allocations: 3.953 kB / 418.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.09813, allocations: 47.92 kB / 418.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.09864, allocations: 364.5 kB / 418.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.09892, allocations: 74.62 kB / 419 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.09905, allocations: 89.22 kB / 419.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.09908, allocations: 30.56 kB / 419.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.09909, allocations: 3.938 kB / 419.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005227/0.09962, allocations: 187.6 kB / 419.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.09966, allocations: 55.41 kB / 419.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.09979, allocations: 114 kB / 419.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.09982, allocations: 29.7 kB / 419.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.989e-05/0.09988, allocations: 108.2 kB / 419.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.0999, allocations: 15.66 kB / 419.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.09992, allocations: 3.938 kB / 419.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1, allocations: 330.7 kB / 419.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.1001, allocations: 8 kB / 419.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1001, allocations: 8.25 kB / 419.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.439e-05/0.1001, allocations: 24.11 kB / 420 MB, free: 3.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1001, allocations: 0 / 420 MB, free: 3.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.1003, allocations: 78.53 kB / 420 MB, free: 3.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1004, allocations: 4 kB / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1004, allocations: 0 / 420.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.1006, allocations: 28.78 kB / 420.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.1006, allocations: 15.98 kB / 420.1 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009974/0.1016, allocations: 1.28 MB / 421.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.1017, allocations: 8.359 kB / 421.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1017, allocations: 0 / 421.4 MB, free: 2.16 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 (4): * Single equations (assignments): 3 * 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.077e-05/0.1018, allocations: 118.4 kB / 421.5 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.1018, allocations: 7.906 kB / 421.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.1021, allocations: 102.4 kB / 421.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1021, allocations: 96 / 421.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.1021, allocations: 11.95 kB / 421.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.1021, allocations: 3.938 kB / 421.6 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.1023, allocations: 181.8 kB / 421.8 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1024, allocations: 4 kB / 421.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.319e-05/0.1024, allocations: 7.984 kB / 421.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.1025, allocations: 24.84 kB / 421.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1025, allocations: 4 kB / 421.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000922/0.1035, allocations: 1.28 MB / 423.1 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1035, allocations: 4.203 kB / 423.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1037, allocations: 188.3 kB / 423.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.1038, allocations: 81.02 kB / 423.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1038, allocations: 0 / 423.4 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1039, allocations: 15.89 kB / 423.4 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1039, allocations: 11.98 kB / 423.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.104, allocations: 4 kB / 423.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.071e-05/0.104, allocations: 95.27 kB / 423.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.104, allocations: 0 / 423.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1043, allocations: 20 kB / 423.5 MB, free: 15.77 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 (5): * Single equations (assignments): 4 * 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.000527/0.1048, allocations: 0.7326 MB / 424.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1051, allocations: 150.8 kB / 424.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1052, allocations: 0 / 424.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.1053, allocations: 146.8 kB / 424.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1056, allocations: 7.938 kB / 424.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008842/0.1065, allocations: 0.5496 MB / 425.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1067, allocations: 0.7043 MB / 425.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.1068, allocations: 8.219 kB / 425.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1068, allocations: 19.44 kB / 425.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1068, allocations: 0 / 425.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1192, allocations: 2.178 MB / 428 MB, free: 11.26 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.1194, allocations: 167.8 kB / 428.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.727, allocations: 0 / 428.2 MB, free: 11.02 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1) Environment - environmentSimulation: