Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0008178/0.0008178, allocations: 109.3 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.001411/0.001411, allocations: 213.7 kB / 22.25 MB, free: 3.699 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.028/1.028, 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.8281/0.8281, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001592/0.001592, allocations: 67.44 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.5182, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02802/0.5462, allocations: 32.14 MB / 0.8493 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.5647, allocations: 14 MB / 0.8629 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003946/0.5687, allocations: 190.1 kB / 0.8631 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005705/0.5744, allocations: 3.338 MB / 0.8664 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008154/0.5826, allocations: 2.792 MB / 0.8691 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006064/0.5886, allocations: 2.059 MB / 0.8711 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.5993, allocations: 7.638 MB / 0.8786 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007005/0.6063, allocations: 4.654 MB / 0.8831 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007554/0.6138, allocations: 3.513 MB / 0.8866 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006109/0.62, allocations: 3.57 MB / 0.89 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001911/0.6219, allocations: 0.6016 MB / 0.8906 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.6262, allocations: 1.513 MB / 0.8921 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003866/0.6301, allocations: 2.431 MB / 0.8945 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.007154/0.6373, allocations: 2.882 MB / 0.8973 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01539/0.6526, allocations: 9.488 MB / 0.9066 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6527, allocations: 0 / 0.9066 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6527, allocations: 0 / 0.9066 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003073/0.653, allocations: 4 kB / 0.9066 GB, free: 10.9 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01015/0.6631, allocations: 5.195 MB / 0.9116 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.6632, allocations: 12.03 kB / 0.9116 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001129/0.6643, allocations: 0.6164 MB / 0.9122 GB, free: 5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.6678, allocations: 1.02 MB / 0.9132 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.673, allocations: 3.021 MB / 0.9162 GB, free: 0.8633 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.6731, allocations: 316.9 kB / 0.9165 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/0.6738, allocations: 427.8 kB / 0.9169 GB, free: 136 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.6838, allocations: 6.784 MB / 0.9235 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.021e-05/0.6839, allocations: 23.83 kB / 0.9236 GB, free: 9.035 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.6843, allocations: 180 kB / 0.9237 GB, free: 8.859 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007271/0.685, allocations: 380 kB / 0.9241 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.6918, allocations: 5.11 MB / 0.9291 GB, free: 3.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0264/0.7182, allocations: 30.27 MB / 0.9586 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.7196, allocations: 1.321 MB / 0.9599 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.7207, allocations: 1.238 MB / 0.9611 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.462e-05/0.7208, allocations: 21.3 kB / 0.9612 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.7208, allocations: 47.88 kB / 0.9612 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 2.705e-06/0.7208, allocations: 0 / 0.9612 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=199): time 0.04463/0.7654, allocations: 22.86 MB / 0.9835 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.7655, allocations: 77.41 kB / 0.9836 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/0.7678, allocations: 2.059 MB / 0.9856 GB, free: 6.594 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.768, allocations: 61.7 kB / 0.9857 GB, free: 6.527 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001239/0.7693, allocations: 2.059 MB / 0.9877 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.7698, allocations: 0.7126 MB / 0.9884 GB, free: 3.73 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004665/0.7703, allocations: 412.4 kB / 0.9888 GB, free: 3.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.7704, allocations: 305.1 kB / 0.9891 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.7718, allocations: 1.437 MB / 0.9905 GB, free: 1.578 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.7735, allocations: 2.01 MB / 0.9924 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/0.7771, allocations: 3.696 MB / 0.996 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.7771, allocations: 8 kB / 0.996 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007675/0.7848, allocations: 5.604 MB / 1.002 GB, free: 5.703 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.7848, allocations: 12 kB / 1.002 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.7849, allocations: 16 kB / 1.002 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003662/0.7885, allocations: 2.084 MB / 1.004 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.7895, allocations: 375.4 kB / 1.004 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/0.8147, allocations: 36.61 MB / 1.04 GB, free: 12.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.8164, allocations: 139.9 kB / 1.04 GB, free: 12.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.8166, allocations: 88 kB / 1.04 GB, free: 12.27 MB / 0.823 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002311/0.8189, allocations: 1.508 MB / 1.041 GB, free: 10.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004206/0.8193, allocations: 294.2 kB / 1.042 GB, free: 10.46 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006055/0.8253, allocations: 5.149 MB / 1.047 GB, free: 5.238 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.8254, allocations: 16 kB / 1.047 GB, free: 5.223 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/0.8254, allocations: 20 kB / 1.047 GB, free: 5.203 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.8254, allocations: 11.97 kB / 1.047 GB, free: 5.191 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.8377, allocations: 9.586 MB / 1.056 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.8377, allocations: 4 kB / 1.056 GB, free: 11.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.8382, allocations: 219.6 kB / 1.056 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/0.8413, allocations: 1.838 MB / 1.058 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.8415, allocations: 40 kB / 1.058 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02431/0.8658, allocations: 35.63 MB / 1.093 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.8658, allocations: 11.94 kB / 1.093 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006117/0.8719, allocations: 4.856 MB / 1.098 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.8732, allocations: 0.5527 MB / 1.098 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8734, allocations: 47.92 kB / 1.098 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007888/0.8742, allocations: 127.8 kB / 1.098 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/0.8748, allocations: 197.5 kB / 1.099 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.118e-05/0.8749, allocations: 60 kB / 1.099 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001638/0.8765, allocations: 1.374 MB / 1.1 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8765, allocations: 0 / 1.1 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00288/0.8794, allocations: 1.047 MB / 1.101 GB, free: 11.11 MB / 0.8855 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006094/0.8855, allocations: 5.478 MB / 1.106 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006471/0.892, allocations: 6.011 MB / 1.112 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.892, allocations: 8.062 kB / 1.112 GB, free: 15.22 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00427/0.8962, allocations: 4.28 MB / 1.116 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.8991, allocations: 0.997 MB / 1.117 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/0.9399, allocations: 30.75 MB / 1.147 GB, free: 9.961 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003154/0.943, allocations: 3.121 MB / 1.15 GB, free: 6.805 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001396/0.9444, allocations: 0.5199 MB / 1.151 GB, free: 6.281 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.9457, allocations: 1.671 MB / 1.153 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of SimCode: time 1.774e-06/0.9457, allocations: 0 / 1.153 GB, free: 4.609 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/1.468, allocations: 90.93 MB / 1.241 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/12.5, allocations: 4.062 kB / 1.241 GB, free: 244.7 MB / 0.9323 GB " [Timeout remaining time 647] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.786682066041976] Failed to read output from testmodel.py, exit status != 0: 12.625644685933366 12.630646079 11.976299425 Calling exit ...