Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001256/0.001256, allocations: 105.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.001017/0.001017, allocations: 218.7 kB / 22.25 MB, free: 3.57 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.8933/0.8933, allocations: 230.6 MB / 256 MB, free: 9.605 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.777/0.777, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.00118/0.00118, allocations: 66.36 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5048, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0275/0.5323, allocations: 33.67 MB / 0.8507 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.5466, allocations: 10.02 MB / 0.8605 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003353/0.55, allocations: 191.6 kB / 0.8607 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005904/0.5559, allocations: 3.822 MB / 0.8644 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005245/0.5612, allocations: 2.146 MB / 0.8665 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.5653, allocations: 1.97 MB / 0.8684 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008389/0.5737, allocations: 7.972 MB / 0.8762 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006816/0.5805, allocations: 5.232 MB / 0.8813 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/0.5855, allocations: 3.486 MB / 0.8847 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.5898, allocations: 3.699 MB / 0.8883 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.5911, allocations: 0.6797 MB / 0.889 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.5935, allocations: 1.358 MB / 0.8903 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.5958, allocations: 2.685 MB / 0.8929 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00373/0.5996, allocations: 2.514 MB / 0.8954 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008252/0.6078, allocations: 10.47 MB / 0.9056 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6078, allocations: 0 / 0.9056 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6078, allocations: 0 / 0.9056 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002384/0.6081, allocations: 3.938 kB / 0.9056 GB, free: 11.47 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.00836/0.6164, allocations: 5.467 MB / 0.911 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.6165, allocations: 12.03 kB / 0.911 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008673/0.6173, allocations: 0.6945 MB / 0.9116 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.6204, allocations: 0.9928 MB / 0.9126 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.6247, allocations: 3.136 MB / 0.9157 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001808/0.6249, allocations: 353.9 kB / 0.916 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.6255, allocations: 464.3 kB / 0.9165 GB, free: 236 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.6362, allocations: 8.671 MB / 0.9249 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.402e-05/0.6363, allocations: 23.77 kB / 0.9249 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004869/0.6367, allocations: 212 kB / 0.9251 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003558/0.6371, allocations: 369.1 kB / 0.9255 GB, free: 6.414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008471/0.6456, allocations: 5.926 MB / 0.9313 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/0.6694, allocations: 23.75 MB / 0.9545 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.6717, allocations: 1.991 MB / 0.9564 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.673, allocations: 1.329 MB / 0.9577 GB, free: 4.707 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.381e-05/0.6731, allocations: 17.31 kB / 0.9577 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.6732, allocations: 55.81 kB / 0.9578 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 4.879e-06/0.6732, allocations: 0 / 0.9578 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.009332/0.6825, allocations: 6.667 MB / 0.9643 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6825, allocations: 68.66 kB / 0.9644 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/0.6846, allocations: 1.911 MB / 0.9662 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.6847, allocations: 57.7 kB / 0.9663 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.6857, allocations: 2.181 MB / 0.9684 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.6861, allocations: 0.5888 MB / 0.969 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/0.6865, allocations: 404 kB / 0.9694 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.6866, allocations: 301.1 kB / 0.9697 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.6877, allocations: 1.07 MB / 0.9707 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.6891, allocations: 1.76 MB / 0.9724 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.6919, allocations: 3.045 MB / 0.9754 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.802e-05/0.6919, allocations: 11.94 kB / 0.9754 GB, free: 1.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004539/0.6965, allocations: 3.903 MB / 0.9792 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.6965, allocations: 20.03 kB / 0.9792 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.6965, allocations: 20 kB / 0.9793 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.698, allocations: 0.9233 MB / 0.9802 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009432/0.699, allocations: 431.3 kB / 0.9806 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.7125, allocations: 21.38 MB / 1.001 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.7143, allocations: 123.8 kB / 1.002 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.7145, allocations: 104 kB / 1.002 GB, free: 5.469 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00287/0.7174, allocations: 1.641 MB / 1.003 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/0.718, allocations: 270.4 kB / 1.004 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00387/0.7218, allocations: 3.229 MB / 1.007 GB, free: 280 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.7218, allocations: 16 kB / 1.007 GB, free: 264 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.013e-05/0.7219, allocations: 12 kB / 1.007 GB, free: 252 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.7219, allocations: 11.91 kB / 1.007 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7319, allocations: 7.166 MB / 1.014 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.7319, allocations: 4 kB / 1.014 GB, free: 8.918 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.7324, allocations: 215.6 kB / 1.014 GB, free: 8.707 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.7338, allocations: 0.8926 MB / 1.015 GB, free: 7.777 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.418e-05/0.7339, allocations: 28 kB / 1.015 GB, free: 7.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.7471, allocations: 21.35 MB / 1.036 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.7471, allocations: 8 kB / 1.036 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/0.7515, allocations: 3.365 MB / 1.039 GB, free: 13.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/0.7525, allocations: 482.1 kB / 1.039 GB, free: 13.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.7528, allocations: 39.94 kB / 1.039 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006419/0.7534, allocations: 91.88 kB / 1.04 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.7537, allocations: 152.9 kB / 1.04 GB, free: 12.78 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/0.7538, allocations: 44 kB / 1.04 GB, free: 12.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001296/0.7551, allocations: 1.225 MB / 1.041 GB, free: 11.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.7551, allocations: 0 / 1.041 GB, free: 11.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002584/0.7577, allocations: 0.9023 MB / 1.042 GB, free: 10.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00381/0.7615, allocations: 3.965 MB / 1.046 GB, free: 6.504 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004639/0.7661, allocations: 4.291 MB / 1.05 GB, free: 2.062 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.7661, allocations: 4 kB / 1.05 GB, free: 2.059 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.7689, allocations: 2.906 MB / 1.053 GB, free: 15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.7717, allocations: 0.8306 MB / 1.054 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/0.8065, allocations: 25.24 MB / 1.078 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/0.8094, allocations: 2.669 MB / 1.081 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001366/0.8108, allocations: 0.5254 MB / 1.081 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/0.8121, allocations: 1.651 MB / 1.083 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/0.8121, allocations: 0 / 1.083 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4858/1.298, allocations: 74.98 MB / 1.156 GB, free: 277.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.897/10.19, allocations: 1.094 kB / 1.156 GB, free: 277.1 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.161853551864624] Failed to read output from testmodel.py, exit status != 0: 10.30619416711852 10.318980532 9.708943811 Calling exit ...