Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.0008386/0.0008386, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008853/0.0008853, allocations: 213.8 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9556/0.9556, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.778/0.778, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.000889/0.000889, allocations: 71.36 kB / 0.7182 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4927/0.4935, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004298/0.4978, allocations: 5.063 MB / 0.8228 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002523/0.5004, allocations: 2.597 MB / 0.8253 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.5005, allocations: 40.31 kB / 0.8254 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.5013, allocations: 412 kB / 0.8258 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005937/0.5019, allocations: 470 kB / 0.8262 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.5024, allocations: 408.2 kB / 0.8266 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.5031, allocations: 0.9265 MB / 0.8275 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.5035, allocations: 320.1 kB / 0.8278 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000338/0.5039, allocations: 356.7 kB / 0.8281 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004923/0.5044, allocations: 372.1 kB / 0.8285 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.5044, allocations: 38.22 kB / 0.8285 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.5049, allocations: 416.4 kB / 0.8289 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.505, allocations: 189.3 kB / 0.8291 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.5053, allocations: 316.4 kB / 0.8294 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0008775/0.5061, allocations: 0.8924 MB / 0.8303 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5061, allocations: 0 / 0.8303 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5061, allocations: 0 / 0.8303 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.5062, allocations: 0 / 0.8303 GB, free: 9.676 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001104/0.5073, allocations: 0.8998 MB / 0.8312 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5073, allocations: 10.23 kB / 0.8312 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.678e-05/0.5074, allocations: 93.41 kB / 0.8313 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007945/0.5082, allocations: 211 kB / 0.8315 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/0.5089, allocations: 492.6 kB / 0.8319 GB, free: 8.605 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.509, allocations: 35.48 kB / 0.832 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.509, allocations: 53.59 kB / 0.832 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009548/0.51, allocations: 0.8525 MB / 0.8329 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.51, allocations: 7.219 kB / 0.8329 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/0.5101, allocations: 19.94 kB / 0.8329 GB, free: 7.961 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-05/0.5101, allocations: 70.27 kB / 0.833 GB, free: 7.945 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.5108, allocations: 0.5649 MB / 0.8335 GB, free: 7.742 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.514, allocations: 5.579 MB / 0.839 GB, free: 2.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.5145, allocations: 436 kB / 0.8394 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.5148, allocations: 196.8 kB / 0.8396 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.5148, allocations: 4.219 kB / 0.8396 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5148, allocations: 36.88 kB / 0.8396 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 1.182e-06/0.5148, allocations: 3.938 kB / 0.8396 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.00163/0.5165, allocations: 1.149 MB / 0.8407 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.5165, allocations: 54.81 kB / 0.8408 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.5169, allocations: 0.4973 MB / 0.8413 GB, free: 1.617 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.5169, allocations: 30.92 kB / 0.8413 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.5171, allocations: 363 kB / 0.8416 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.5172, allocations: 130.4 kB / 0.8418 GB, free: 1.188 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.5173, allocations: 112.9 kB / 0.8419 GB, free: 1.125 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5174, allocations: 364.5 kB / 0.8422 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.5176, allocations: 201.8 kB / 0.8424 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.518, allocations: 441.8 kB / 0.8428 GB, free: 344 kB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.5187, allocations: 0.7019 MB / 0.8435 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5187, allocations: 2.812 kB / 0.8435 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009404/0.5196, allocations: 0.8055 MB / 0.8443 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5197, allocations: 10.59 kB / 0.8443 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5197, allocations: 8.531 kB / 0.8443 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.52, allocations: 162.6 kB / 0.8445 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5202, allocations: 117.8 kB / 0.8446 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.5224, allocations: 4.048 MB / 0.8485 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.5226, allocations: 33.56 kB / 0.8486 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.5227, allocations: 31.28 kB / 0.8486 GB, free: 11.22 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.5228, allocations: 209.8 kB / 0.8488 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.5229, allocations: 62.44 kB / 0.8489 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007028/0.5236, allocations: 0.6018 MB / 0.8494 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5236, allocations: 3.938 kB / 0.8495 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5236, allocations: 5.375 kB / 0.8495 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5236, allocations: 0 / 0.8495 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.5248, allocations: 1.238 MB / 0.8507 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5248, allocations: 2.312 kB / 0.8507 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.525, allocations: 54.95 kB / 0.8507 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/0.5252, allocations: 140.2 kB / 0.8509 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5252, allocations: 11.34 kB / 0.8509 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.5271, allocations: 4.024 MB / 0.8548 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5271, allocations: 2.656 kB / 0.8548 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.5278, allocations: 0.7136 MB / 0.8555 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5279, allocations: 100.7 kB / 0.8556 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.5279, allocations: 12.52 kB / 0.8556 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.528, allocations: 22.06 kB / 0.8556 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.5281, allocations: 30.05 kB / 0.8557 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5281, allocations: 12.88 kB / 0.8557 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002351/0.5283, allocations: 342.8 kB / 0.856 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5283, allocations: 3.938 kB / 0.856 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004117/0.5287, allocations: 142.8 kB / 0.8561 GB, free: 4.758 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009518/0.5297, allocations: 1.264 MB / 0.8574 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008376/0.5305, allocations: 0.8595 MB / 0.8582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5305, allocations: 0 / 0.8582 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.5309, allocations: 0.584 MB / 0.8588 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.5315, allocations: 213 kB / 0.859 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.5358, allocations: 5.153 MB / 0.864 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.5361, allocations: 0.9056 MB / 0.8649 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.5363, allocations: 126.3 kB / 0.865 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.5365, allocations: 195.9 kB / 0.8652 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 6.42e-07/0.5365, allocations: 0 / 0.8652 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03411/0.5706, allocations: 13.34 MB / 0.8782 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.975, allocations: 2.188 kB / 0.8782 GB, free: 6.074 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.853197571123019] Failed to read output from testmodel.py, exit status != 0: 8.063843262149021 8.075623625 7.567807906 Calling exit ...