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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.005084/0.005084, allocations: 92.44 kB / 15.91 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 196.4 kB / 16.84 MB, free: 6.199 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.258/1.258, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1306/0.1306, allocations: 8.083 MB / 298.7 MB, free: 2.066 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.91 kB / 361.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07377/0.0749, allocations: 51.52 MB / 412.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002324/0.07726, allocations: 1.326 MB / 414 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.07866, allocations: 1.244 MB / 415.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.522e-05/0.07874, allocations: 0 / 415.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.07908, allocations: 95.67 kB / 415.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.07925, allocations: 51.69 kB / 415.4 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.08037, allocations: 0.7196 MB / 416.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.08057, allocations: 127.5 kB / 416.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.08068, allocations: 53.05 kB / 416.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.08075, allocations: 55.73 kB / 416.3 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.509e-05/0.08084, allocations: 67.69 kB / 416.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.08087, allocations: 12 kB / 416.4 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.08112, allocations: 135.9 kB / 416.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.08115, allocations: 23.92 kB / 416.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.08122, allocations: 67.61 kB / 416.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.08153, allocations: 255.5 kB / 416.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.08154, allocations: 0 / 416.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.08154, allocations: 0 / 416.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.08155, allocations: 0 / 416.9 MB, free: 5.871 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.001156/0.08272, allocations: 0.5575 MB / 417.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.08276, allocations: 8.031 kB / 417.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.08281, allocations: 46.75 kB / 417.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.08286, allocations: 12.75 kB / 417.5 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.08303, allocations: 208.2 kB / 417.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.08305, allocations: 8.375 kB / 417.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.08308, allocations: 12.38 kB / 417.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.08334, allocations: 158.2 kB / 417.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.08336, allocations: 7.875 kB / 417.9 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.08338, allocations: 4 kB / 417.9 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.0834, allocations: 7.938 kB / 417.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.08358, allocations: 112 kB / 418 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006963/0.08429, allocations: 0.5195 MB / 418.5 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.08514, allocations: 154.4 kB / 418.7 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.08523, allocations: 44.78 kB / 418.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.08535, allocations: 85.09 kB / 418.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.08538, allocations: 38.56 kB / 418.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.08538, allocations: 0 / 418.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001125/0.08651, allocations: 359.4 kB / 419.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.08655, allocations: 55.34 kB / 419.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.08664, allocations: 131.9 kB / 419.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.08667, allocations: 25.7 kB / 419.4 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.08673, allocations: 128.1 kB / 419.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.08676, allocations: 35.55 kB / 419.5 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.08682, allocations: 29.7 kB / 419.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.08691, allocations: 318.8 kB / 419.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.08699, allocations: 35.98 kB / 419.9 MB, free: 2.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.227e-05/0.08708, allocations: 61.69 kB / 420 MB, free: 2.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.08725, allocations: 113.6 kB / 420.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.08726, allocations: 0 / 420.1 MB, free: 2.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004867/0.08775, allocations: 206.2 kB / 420.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.08778, allocations: 10.19 kB / 420.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.227e-06/0.08779, allocations: 0 / 420.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004165/0.08821, allocations: 84.8 kB / 420.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.08828, allocations: 15.98 kB / 420.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.0898, allocations: 1.522 MB / 421.9 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.08989, allocations: 11.78 kB / 421.9 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.08991, allocations: 8 kB / 421.9 MB, free: 368 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.54e-05/0.09001, allocations: 133.8 kB / 422.1 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.09005, allocations: 3.906 kB / 422.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005091/0.09056, allocations: 206.8 kB / 422.3 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.09058, allocations: 4 kB / 422.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.09058, allocations: 4 kB / 422.3 MB, free: 0 / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.09061, allocations: 4.047 kB / 422.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.09082, allocations: 229.4 kB / 422.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.09083, allocations: 0 / 422.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.608e-05/0.09088, allocations: 12 kB / 422.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.09124, allocations: 72.77 kB / 422.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.09127, allocations: 4 kB / 422.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.09265, allocations: 1.522 MB / 424.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.09267, allocations: 0 / 424.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.09315, allocations: 284.1 kB / 424.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.09319, allocations: 85.47 kB / 424.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.09322, allocations: 8 kB / 424.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.09332, allocations: 0 / 424.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.09335, allocations: 15.97 kB / 424.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.09337, allocations: 7.938 kB / 424.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.09342, allocations: 93.94 kB / 424.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09343, allocations: 4 kB / 424.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000305/0.09374, allocations: 51.84 kB / 424.7 MB, free: 13.39 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000733/0.09448, allocations: 0.8262 MB / 425.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000589/0.09508, allocations: 251.3 kB / 425.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.09509, allocations: 4.062 kB / 425.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.09548, allocations: 202.7 kB / 425.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.09571, allocations: 12.16 kB / 425.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.09782, allocations: 1.828 MB / 427.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.09805, allocations: 0.7121 MB / 428.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.09809, allocations: 8.672 kB / 428.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.09815, allocations: 39.42 kB / 428.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09816, allocations: 0 / 428.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.1115, allocations: 3.286 MB / 431.8 MB, free: 6.145 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.1117, allocations: 197.9 kB / 432 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.741, allocations: 3.938 kB / 432 MB, free: 5.883 MB / 366.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/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)