Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001279/0.001279, 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.001185/0.001185, allocations: 221.8 kB / 22.26 MB, free: 3.707 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 1.054/1.054, allocations: 230.6 MB / 256 MB, free: 9.805 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.7971/0.7971, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.0009949/0.0009949, allocations: 69.12 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5364, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02139/0.5578, allocations: 23.62 MB / 0.8409 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01237/0.5702, allocations: 6.442 MB / 0.8472 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.5726, allocations: 123.5 kB / 0.8473 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002927/0.5755, allocations: 1.611 MB / 0.8489 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004311/0.5798, allocations: 1.723 MB / 0.8506 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/0.5835, allocations: 1.392 MB / 0.852 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007853/0.5914, allocations: 5.949 MB / 0.8578 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004856/0.5962, allocations: 3.233 MB / 0.8609 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.6004, allocations: 2.479 MB / 0.8634 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/0.6051, allocations: 3.071 MB / 0.8664 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001639/0.6067, allocations: 456.3 kB / 0.8668 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.6102, allocations: 1.118 MB / 0.8679 GB, free: 212 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003178/0.6134, allocations: 2.08 MB / 0.8699 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005568/0.619, allocations: 2.165 MB / 0.872 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.009263/0.6282, allocations: 7.328 MB / 0.8792 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.6282, allocations: 0 / 0.8792 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.335e-06/0.6282, allocations: 0 / 0.8792 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002451/0.6285, allocations: 0 / 0.8792 GB, free: 7.09 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008203/0.6367, allocations: 3.842 MB / 0.8829 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6367, allocations: 8.031 kB / 0.8829 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008789/0.6376, allocations: 0.5092 MB / 0.8834 GB, free: 2.672 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.6415, allocations: 1.231 MB / 0.8846 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/0.6459, allocations: 2.297 MB / 0.8869 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.6461, allocations: 242.3 kB / 0.8871 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006721/0.6467, allocations: 315.9 kB / 0.8874 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009315/0.656, allocations: 6.209 MB / 0.8935 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.845e-05/0.6561, allocations: 15.83 kB / 0.8935 GB, free: 8.066 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003887/0.6565, allocations: 143.9 kB / 0.8936 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003346/0.6568, allocations: 402.3 kB / 0.894 GB, free: 7.531 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.6633, allocations: 4.658 MB / 0.8986 GB, free: 2.863 MB / 0.6667 GB 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.02385/0.6872, allocations: 28.74 MB / 0.9266 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.6887, allocations: 1.376 MB / 0.928 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.69, allocations: 1.44 MB / 0.9294 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.258e-05/0.69, allocations: 16.98 kB / 0.9294 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.6901, allocations: 47.5 kB / 0.9294 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of pre-optimization done (n=110): time 3.677e-06/0.6901, allocations: 3.938 kB / 0.9294 GB, free: 500 kB / 0.698 GB Notification: Performance of matching and sorting (n=179): time 0.07207/0.7622, allocations: 37.06 MB / 0.9656 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.7622, allocations: 77.34 kB / 0.9657 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.7637, allocations: 1.423 MB / 0.9671 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.7639, allocations: 49.7 kB / 0.9671 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008609/0.7648, allocations: 1.583 MB / 0.9687 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005825/0.7654, allocations: 0.639 MB / 0.9693 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008574/0.7662, allocations: 383.5 kB / 0.9697 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.7663, allocations: 313.1 kB / 0.97 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.7682, allocations: 1.78 MB / 0.9717 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.7703, allocations: 2.342 MB / 0.974 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.7746, allocations: 4.398 MB / 0.9783 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.7746, allocations: 7.938 kB / 0.9783 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01118/0.7858, allocations: 8.431 MB / 0.9865 GB, free: 5.375 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.7858, allocations: 12 kB / 0.9866 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.7858, allocations: 16 kB / 0.9866 GB, free: 5.348 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008279/0.7941, allocations: 4.633 MB / 0.9911 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.7949, allocations: 299.5 kB / 0.9914 GB, free: 412 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03113/0.826, allocations: 32.01 MB / 1.023 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.8277, allocations: 152 kB / 1.023 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.8279, allocations: 80 kB / 1.023 GB, free: 15.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002158/0.83, allocations: 1.337 MB / 1.024 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.8304, allocations: 210.7 kB / 1.024 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.8413, allocations: 8.285 MB / 1.032 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.8413, allocations: 20 kB / 1.032 GB, free: 5.562 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002653/0.8416, allocations: 27.94 kB / 1.033 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.8416, allocations: 7.969 kB / 1.033 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.8581, allocations: 12.69 MB / 1.045 GB, free: 8.668 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.8581, allocations: 8 kB / 1.045 GB, free: 8.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/0.8585, allocations: 167.7 kB / 1.045 GB, free: 8.496 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008488/0.867, allocations: 4.482 MB / 1.049 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000215/0.8672, allocations: 40 kB / 1.049 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03042/0.8976, allocations: 31.62 MB / 1.08 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.8976, allocations: 11.94 kB / 1.08 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.9088, allocations: 8.101 MB / 1.088 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.9102, allocations: 0.5608 MB / 1.089 GB, free: 10.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/0.9104, allocations: 36 kB / 1.089 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007751/0.9112, allocations: 135.8 kB / 1.089 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005753/0.9118, allocations: 180.8 kB / 1.089 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.9118, allocations: 52 kB / 1.089 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009744/0.9128, allocations: 0.9587 MB / 1.09 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9128, allocations: 4 kB / 1.09 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002532/0.9153, allocations: 1.117 MB / 1.091 GB, free: 8.359 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01072/0.9261, allocations: 8.685 MB / 1.1 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008125/0.9342, allocations: 6.326 MB / 1.106 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.9342, allocations: 0 / 1.106 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005611/0.9398, allocations: 4.19 MB / 1.11 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.9416, allocations: 0.5235 MB / 1.111 GB, free: 4.363 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/0.9851, allocations: 33.53 MB / 1.143 GB, free: 1.91 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3369/1.322, allocations: 2.721 MB / 1.146 GB, free: 293.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0009835/1.323, allocations: 389.3 kB / 1.146 GB, free: 293.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.324, allocations: 1.215 MB / 1.147 GB, free: 293.7 MB / 0.9167 GB Notification: Performance of SimCode: time 2.765e-06/1.324, allocations: 0 / 1.147 GB, free: 293.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/1.432, allocations: 86.59 MB / 1.232 GB, free: 240.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.93/11.36, allocations: 14.98 kB / 1.232 GB, free: 240.5 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.563226066995412] Failed to read output from testmodel.py, exit status != 0: 11.466400193050504 11.476974378 10.846515172 Calling exit ...