Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 115.7 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 219 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.6 MB / 230.5 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06903/0.06903, allocations: 14.41 MB / 296.8 MB, free: 1.891 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 68.53 kB / 416.2 MB, free: 8.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2541, allocations: 52.88 MB / 469 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad): time 0.006046/0.2601, allocations: 4.316 MB / 473.3 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.2646, allocations: 2.496 MB / 475.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004395/0.2651, allocations: 11.44 kB / 475.9 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009341/0.266, allocations: 246.9 kB / 476.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.2688, allocations: 1.126 MB / 477.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005717/0.2694, allocations: 270.8 kB / 477.5 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.2708, allocations: 0.9533 MB / 478.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.271, allocations: 49.56 kB / 478.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.2715, allocations: 350.7 kB / 478.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.2719, allocations: 330.7 kB / 479.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.272, allocations: 36 kB / 479.2 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000591/0.2726, allocations: 279.8 kB / 479.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.2727, allocations: 87.56 kB / 479.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.273, allocations: 290.5 kB / 479.8 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.2741, allocations: 0.8194 MB / 480.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2741, allocations: 0 / 480.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2741, allocations: 0 / 480.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.2741, allocations: 0 / 480.6 MB, free: 2.098 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002954/0.2771, allocations: 1.028 MB / 481.7 MB, free: 1.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.2771, allocations: 8.031 kB / 481.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.533e-05/0.2771, allocations: 13.19 kB / 481.7 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/0.2772, allocations: 70.72 kB / 481.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003522/0.2776, allocations: 84.58 kB / 481.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008928/0.2785, allocations: 456.8 kB / 482.3 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/0.2785, allocations: 25.38 kB / 482.3 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.2786, allocations: 43.92 kB / 482.4 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.2793, allocations: 375.1 kB / 482.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.2793, allocations: 0 / 482.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.2793, allocations: 12 kB / 482.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.2794, allocations: 8 kB / 482.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000648/0.28, allocations: 359.7 kB / 483.1 MB, free: 15.54 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.2834, allocations: 2.376 MB / 485.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.2844, allocations: 0.5337 MB / 486 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.2847, allocations: 128.9 kB / 486.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.2847, allocations: 7.938 kB / 486.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2847, allocations: 38.56 kB / 486.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.2847, allocations: 0 / 486.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.002565/0.2873, allocations: 0.8033 MB / 487 MB, free: 11.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2873, allocations: 55.41 kB / 487 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.2878, allocations: 353.6 kB / 487.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.2878, allocations: 33.7 kB / 487.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.288, allocations: 200.9 kB / 487.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.2881, allocations: 150.7 kB / 487.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2882, allocations: 61.66 kB / 487.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2884, allocations: 346.8 kB / 488.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.2886, allocations: 107.7 kB / 488.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/0.2889, allocations: 131 kB / 488.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.2893, allocations: 265.9 kB / 488.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2893, allocations: 0 / 488.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001158/0.2905, allocations: 481.2 kB / 489.1 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2905, allocations: 5.094 kB / 489.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2905, allocations: 0 / 489.1 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.2913, allocations: 164.6 kB / 489.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.2917, allocations: 79.89 kB / 489.4 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.295, allocations: 2.238 MB / 491.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.2954, allocations: 27.88 kB / 491.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.2954, allocations: 12 kB / 491.6 MB, free: 6.406 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 (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.2956, allocations: 169.7 kB / 491.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-05/0.2957, allocations: 43.72 kB / 491.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.297, allocations: 0.5065 MB / 492.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.297, allocations: 4 kB / 492.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.297, allocations: 7.938 kB / 492.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.297, allocations: 0 / 492.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.2991, allocations: 1.197 MB / 493.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2991, allocations: 0 / 493.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.2995, allocations: 79.89 kB / 493.6 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006949/0.3001, allocations: 156.6 kB / 493.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.3002, allocations: 7.938 kB / 493.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002928/0.3031, allocations: 2.188 MB / 496 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3031, allocations: 4 kB / 496 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.3043, allocations: 0.575 MB / 496.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.3046, allocations: 156.8 kB / 496.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/0.3046, allocations: 11.94 kB / 496.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003405/0.3049, allocations: 27.92 kB / 496.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.305, allocations: 27.95 kB / 496.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.3051, allocations: 12 kB / 496.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003056/0.3054, allocations: 251.1 kB / 497 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3054, allocations: 0 / 497 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.306, allocations: 171.8 kB / 497.2 MB, free: 0.5469 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 (32): * Single equations (assignments): 31 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001737/0.3077, allocations: 1.166 MB / 498.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.3088, allocations: 490.2 kB / 498.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3088, allocations: 0 / 498.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.3095, allocations: 358.4 kB / 499.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.3101, allocations: 64.8 kB / 499.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.3161, allocations: 3.657 MB / 0.4911 GB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.3166, allocations: 0.8168 MB / 0.4919 GB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.3168, allocations: 43.27 kB / 0.492 GB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.317, allocations: 139.4 kB / 0.4921 GB, free: 9.664 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.317, allocations: 0 / 0.4921 GB, free: 9.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.3531, allocations: 11.66 MB / 0.5035 GB, free: 14.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.28, allocations: 4.062 kB / 0.5035 GB, free: 14.01 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad_res.mat --tempDir=temp_PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad_fmu --startTime=0 --stopTime=3 --stepSize=0.01 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Electrical_Test_OneBusImpedanceVariableVoltageOneLoad.fmu > PowerGrids_PowerGrids.Electrical.Test.OneBusImpedanceVariableVoltageOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.96533300797455] Failed to read output from testmodel.py, exit status != 0: 13.444354438979644 13.469607506000001 13.190689975 Calling exit ...