Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",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.0008753/0.0008803, allocations: 95.89 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.0008958/0.0008958, allocations: 178.7 kB / 16.61 MB, free: 6.891 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.257/1.257, allocations: 223.2 MB / 240.5 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1632/0.1632, allocations: 8.083 MB / 299.7 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000298/0.0002981, allocations: 12 kB / 362.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09385, allocations: 52.51 MB / 415.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.001383/0.09528, allocations: 0.8965 MB / 416.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.09656, allocations: 1.174 MB / 417.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.929e-05/0.09662, allocations: 0 / 417.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.09687, allocations: 87.53 kB / 417.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.09701, allocations: 47.89 kB / 417.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009353/0.09796, allocations: 0.5995 MB / 418.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.09813, allocations: 91.8 kB / 418.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.09826, allocations: 49.06 kB / 418.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.019e-05/0.09832, allocations: 43.8 kB / 418.3 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.828e-05/0.09842, allocations: 59.75 kB / 418.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.09845, allocations: 11.94 kB / 418.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.09866, allocations: 115.9 kB / 418.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.09868, allocations: 19.88 kB / 418.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.09873, allocations: 45.64 kB / 418.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.09896, allocations: 167.9 kB / 418.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09897, allocations: 0 / 418.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.09898, allocations: 7.938 kB / 418.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.09899, allocations: 0 / 418.8 MB, free: 5.262 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001186/0.1002, allocations: 0.5417 MB / 419.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1002, allocations: 8.031 kB / 419.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.1003, allocations: 50.5 kB / 419.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.1003, allocations: 15.81 kB / 419.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.1005, allocations: 198.9 kB / 419.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1005, allocations: 8 kB / 419.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1006, allocations: 23.94 kB / 419.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1008, allocations: 149.6 kB / 419.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1008, allocations: 0 / 419.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1009, allocations: 4 kB / 419.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1009, allocations: 7.953 kB / 419.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1011, allocations: 108 kB / 419.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.1018, allocations: 0.5235 MB / 420.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.1025, allocations: 150.5 kB / 420.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.1027, allocations: 89.09 kB / 420.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1027, allocations: 30.56 kB / 420.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1027, allocations: 0 / 420.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001073/0.1038, allocations: 351.7 kB / 421 MB, free: 2.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.1038, allocations: 51.5 kB / 421 MB, free: 2.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.104, allocations: 133.8 kB / 421.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.104, allocations: 29.7 kB / 421.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.11e-05/0.1041, allocations: 132 kB / 421.3 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.1041, allocations: 27.55 kB / 421.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.1041, allocations: 8 kB / 421.4 MB, free: 2.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1042, allocations: 318.8 kB / 421.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.1043, allocations: 39.98 kB / 421.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.1044, allocations: 49.7 kB / 421.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.948e-05/0.1045, allocations: 47.95 kB / 421.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1045, allocations: 3.938 kB / 421.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004727/0.105, allocations: 210.2 kB / 422 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.105, allocations: 4 kB / 422 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.105, allocations: 4 kB / 422 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004202/0.1054, allocations: 80.78 kB / 422.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.147e-05/0.1055, allocations: 19.95 kB / 422.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1671/0.2726, allocations: 1.52 MB / 423.6 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.2728, allocations: 14.48 kB / 423.7 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2728, allocations: 1.312 kB / 423.7 MB, free: 40.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.273, allocations: 129.5 kB / 423.8 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.273, allocations: 10.62 kB / 423.8 MB, free: 40.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005564/0.2736, allocations: 203.9 kB / 424 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2736, allocations: 5.656 kB / 424 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2736, allocations: 1.062 kB / 424 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2736, allocations: 0.6562 kB / 424 MB, free: 40.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.2738, allocations: 225.5 kB / 424.2 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2738, allocations: 2.906 kB / 424.2 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.2739, allocations: 12.88 kB / 424.2 MB, free: 40.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.2743, allocations: 74.77 kB / 424.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2743, allocations: 5.188 kB / 424.3 MB, free: 40.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.2755, allocations: 1.532 MB / 425.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2755, allocations: 1.031 kB / 425.9 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.2759, allocations: 277 kB / 426.1 MB, free: 38.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.2759, allocations: 93.02 kB / 426.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.276, allocations: 4.219 kB / 426.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.2761, allocations: 5.234 kB / 426.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.673e-05/0.2761, allocations: 11.66 kB / 426.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.2761, allocations: 4.219 kB / 426.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.2762, allocations: 100.3 kB / 426.3 MB, free: 38.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2762, allocations: 0 / 426.3 MB, free: 38.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2765, allocations: 47.7 kB / 426.4 MB, free: 38.52 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 (8): * Single equations (assignments): 7 * 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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006465/0.2771, allocations: 0.8215 MB / 427.2 MB, free: 37.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.2776, allocations: 253.1 kB / 427.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2776, allocations: 3.344 kB / 427.5 MB, free: 37.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.278, allocations: 201.1 kB / 427.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.2781, allocations: 2.547 kB / 427.7 MB, free: 37.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.2788, allocations: 0.7001 MB / 428.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.279, allocations: 0.7161 MB / 429.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.2791, allocations: 13.62 kB / 429.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.78e-05/0.2791, allocations: 35.53 kB / 429.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2791, allocations: 0 / 429.1 MB, free: 36.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.2917, allocations: 3.143 MB / 432.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001231/0.2919, allocations: 176.9 kB / 432.4 MB, free: 35.87 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/1.867, allocations: 0 / 432.4 MB, free: 35.87 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) Environment - environmentSimulation: