Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001008/0.001008, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008529/0.0008529, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9308/0.9308, allocations: 230.6 MB / 256 MB, free: 9.594 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.7979/0.7979, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.00147/0.00147, allocations: 70.77 kB / 0.7182 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.558/0.5594, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01302/0.5725, allocations: 13.93 MB / 0.8314 GB, free: 8.184 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01208/0.5846, allocations: 9.98 MB / 0.8411 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.5858, allocations: 80.91 kB / 0.8412 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.5883, allocations: 1.683 MB / 0.8429 GB, free: 0.7812 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004793/0.5931, allocations: 1.855 MB / 0.8447 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.5949, allocations: 0.7636 MB / 0.8454 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003426/0.5983, allocations: 2.767 MB / 0.8481 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.6001, allocations: 1.186 MB / 0.8493 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.6023, allocations: 1.63 MB / 0.8509 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.6039, allocations: 1.089 MB / 0.8519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002802/0.6042, allocations: 163.7 kB / 0.8521 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.6056, allocations: 0.7241 MB / 0.8528 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005472/0.6061, allocations: 0.6179 MB / 0.8534 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009435/0.6071, allocations: 0.7825 MB / 0.8542 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002912/0.61, allocations: 2.785 MB / 0.8569 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.61, allocations: 0 / 0.8569 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.164e-06/0.61, allocations: 3.938 kB / 0.8569 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.61, allocations: 0 / 0.8569 GB, free: 7.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002985/0.613, allocations: 2.15 MB / 0.859 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6131, allocations: 10 kB / 0.859 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.6132, allocations: 194.1 kB / 0.8592 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006751/0.62, allocations: 2.121 MB / 0.8612 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002645/0.6226, allocations: 1.223 MB / 0.8624 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.6227, allocations: 93.09 kB / 0.8625 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.6229, allocations: 119.6 kB / 0.8626 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.6272, allocations: 3.066 MB / 0.8656 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.25e-05/0.6272, allocations: 15.83 kB / 0.8657 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.6273, allocations: 57.16 kB / 0.8657 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004051/0.6278, allocations: 195.2 kB / 0.8659 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004892/0.6326, allocations: 2.785 MB / 0.8686 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009799/0.6424, allocations: 8.335 MB / 0.8768 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.6462, allocations: 2.175 MB / 0.8789 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.6479, allocations: 1.21 MB / 0.8801 GB, free: 5.238 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.648, allocations: 9 kB / 0.8801 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.648, allocations: 51.5 kB / 0.8801 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 2.315e-06/0.648, allocations: 3.938 kB / 0.8801 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.03287/0.6809, allocations: 16 MB / 0.8957 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6809, allocations: 68.72 kB / 0.8958 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.6823, allocations: 1.188 MB / 0.897 GB, free: 3.844 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.6824, allocations: 49.7 kB / 0.897 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.6828, allocations: 0.7529 MB / 0.8978 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.6832, allocations: 0.55 MB / 0.8983 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.6836, allocations: 287.5 kB / 0.8986 GB, free: 2.188 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.6837, allocations: 309.1 kB / 0.8989 GB, free: 1.883 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/0.6859, allocations: 1.503 MB / 0.9003 GB, free: 388 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002292/0.6882, allocations: 1.78 MB / 0.9021 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/0.6925, allocations: 3.365 MB / 0.9053 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6925, allocations: 7.938 kB / 0.9054 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007975/0.7005, allocations: 5.215 MB / 0.9104 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.7005, allocations: 14.81 kB / 0.9105 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7005, allocations: 8 kB / 0.9105 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/0.7041, allocations: 1.871 MB / 0.9123 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.7052, allocations: 415.2 kB / 0.9127 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/0.7252, allocations: 23.06 MB / 0.9352 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.7271, allocations: 303.5 kB / 0.9355 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.7272, allocations: 68 kB / 0.9356 GB, free: 11.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000803/0.728, allocations: 465.5 kB / 0.936 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.7283, allocations: 182.9 kB / 0.9362 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/0.736, allocations: 5.253 MB / 0.9413 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.736, allocations: 16 kB / 0.9413 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.282e-05/0.736, allocations: 20 kB / 0.9414 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.736, allocations: 7.969 kB / 0.9414 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.7463, allocations: 6.962 MB / 0.9482 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.7463, allocations: 4 kB / 0.9482 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008916/0.7472, allocations: 351.7 kB / 0.9485 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003498/0.7507, allocations: 1.701 MB / 0.9502 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.7508, allocations: 51.91 kB / 0.9502 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/0.7693, allocations: 22.23 MB / 0.9719 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.7693, allocations: 4 kB / 0.9719 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007658/0.7769, allocations: 4.833 MB / 0.9766 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.7779, allocations: 426.6 kB / 0.9771 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.778, allocations: 32 kB / 0.9771 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.7792, allocations: 323.5 kB / 0.9774 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/0.7797, allocations: 161.3 kB / 0.9775 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.7797, allocations: 47.97 kB / 0.9776 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008534/0.7806, allocations: 0.7899 MB / 0.9784 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.7806, allocations: 4 kB / 0.9784 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00197/0.7826, allocations: 0.6562 MB / 0.979 GB, free: 13.45 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007352/0.7899, allocations: 5.411 MB / 0.9843 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006594/0.7965, allocations: 4.921 MB / 0.9891 GB, free: 2.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7965, allocations: 3.938 kB / 0.9891 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004308/0.8008, allocations: 3.276 MB / 0.9923 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.8026, allocations: 0.5522 MB / 0.9928 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03164/0.8343, allocations: 21.79 MB / 1.014 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/0.8352, allocations: 0.9804 MB / 1.015 GB, free: 7.707 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001041/0.8362, allocations: 386.4 kB / 1.015 GB, free: 7.324 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.8368, allocations: 0.6554 MB / 1.016 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of SimCode: time 1.352e-06/0.8368, allocations: 0 / 1.016 GB, free: 6.668 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08752/0.9244, allocations: 63.81 MB / 1.078 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/9.09, allocations: 10.39 kB / 1.078 GB, free: 7.578 MB / 0.8542 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.102540906053036] Failed to read output from testmodel.py, exit status != 0: 9.198229600209743 9.206789675 8.594864703 Calling exit ...