Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.001214/0.001214, 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.001039/0.001039, 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.9966/0.9966, 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.7873/0.7873, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",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.0008874/0.0008874, allocations: 71.94 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4911, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.008306/0.4994, allocations: 9.63 MB / 0.8272 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004764/0.5042, allocations: 3.158 MB / 0.8303 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.5048, allocations: 45.22 kB / 0.8303 GB, free: 8.828 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.5059, allocations: 0.6035 MB / 0.8309 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.5076, allocations: 0.7777 MB / 0.8317 GB, free: 8.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.5097, allocations: 0.7488 MB / 0.8324 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004416/0.5142, allocations: 2.995 MB / 0.8353 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.5164, allocations: 1.413 MB / 0.8367 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.519, allocations: 1.286 MB / 0.838 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.5216, allocations: 1.635 MB / 0.8396 GB, free: 4.465 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004974/0.5221, allocations: 239.4 kB / 0.8398 GB, free: 4.461 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009975/0.5231, allocations: 482.3 kB / 0.8403 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.5242, allocations: 1.097 MB / 0.8413 GB, free: 3.641 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.5254, allocations: 0.926 MB / 0.8422 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.5286, allocations: 3.706 MB / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5286, allocations: 1.375 kB / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5286, allocations: 0 / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.399e-05/0.5287, allocations: 0 / 0.8459 GB, free: 480 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003741/0.5324, allocations: 2.122 MB / 0.8479 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.5325, allocations: 14.45 kB / 0.8479 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000262/0.5327, allocations: 257.3 kB / 0.8482 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.5377, allocations: 1.312 MB / 0.8495 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/0.5402, allocations: 1.274 MB / 0.8507 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.106e-05/0.5403, allocations: 112.5 kB / 0.8508 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/0.5406, allocations: 144.9 kB / 0.851 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/0.5455, allocations: 3.518 MB / 0.8544 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.5455, allocations: 5.219 kB / 0.8544 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.5457, allocations: 67.5 kB / 0.8545 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.5459, allocations: 204.7 kB / 0.8547 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.5497, allocations: 3.114 MB / 0.8577 GB, free: 9.484 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/0.5613, allocations: 10.09 MB / 0.8675 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.5631, allocations: 1.607 MB / 0.8691 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.5643, allocations: 1.335 MB / 0.8704 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-05/0.5644, allocations: 9 kB / 0.8704 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5645, allocations: 51.48 kB / 0.8705 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 4.819e-06/0.5645, allocations: 0 / 0.8705 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.07596/0.6404, allocations: 36.18 MB / 0.9058 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.6405, allocations: 73.41 kB / 0.9059 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.6417, allocations: 1.069 MB / 0.9069 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/0.642, allocations: 57.64 kB / 0.907 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.6424, allocations: 0.8131 MB / 0.9078 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004363/0.6428, allocations: 0.6507 MB / 0.9084 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004617/0.6433, allocations: 363.5 kB / 0.9088 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.6434, allocations: 305.1 kB / 0.9091 GB, free: 7.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.6456, allocations: 1.928 MB / 0.9109 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/0.6476, allocations: 2.281 MB / 0.9132 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/0.6515, allocations: 4.402 MB / 0.9175 GB, free: 14.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.6515, allocations: 4 kB / 0.9175 GB, free: 14.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01225/0.6638, allocations: 8.873 MB / 0.9261 GB, free: 5.801 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.6638, allocations: 12 kB / 0.9261 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6638, allocations: 8 kB / 0.9261 GB, free: 5.781 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009873/0.6737, allocations: 4.964 MB / 0.931 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.6743, allocations: 191.7 kB / 0.9312 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03783/0.7122, allocations: 38 MB / 0.9683 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.7138, allocations: 103.8 kB / 0.9684 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.7139, allocations: 68 kB / 0.9685 GB, free: 9.957 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.7151, allocations: 0.8056 MB / 0.9692 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.7153, allocations: 147.1 kB / 0.9694 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.7271, allocations: 8.737 MB / 0.9779 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.7271, allocations: 16 kB / 0.9779 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.327e-05/0.7272, allocations: 35.98 kB / 0.978 GB, free: 176 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/0.7272, allocations: 7.969 kB / 0.978 GB, free: 168 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/0.7443, allocations: 12.66 MB / 0.9903 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.7443, allocations: 4 kB / 0.9903 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.7446, allocations: 115.8 kB / 0.9905 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009564/0.7542, allocations: 4.815 MB / 0.9952 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.7544, allocations: 32 kB / 0.9952 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03433/0.7887, allocations: 35.93 MB / 1.03 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7888, allocations: 7.938 kB / 1.03 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01243/0.8012, allocations: 8.444 MB / 1.039 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.8024, allocations: 0.5808 MB / 1.039 GB, free: 0.8633 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.8026, allocations: 32 kB / 1.039 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.8033, allocations: 99.88 kB / 1.039 GB, free: 0.7344 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/0.8041, allocations: 173.5 kB / 1.039 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-05/0.8042, allocations: 44 kB / 1.039 GB, free: 0.5234 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0007558/0.805, allocations: 0.7384 MB / 1.04 GB, free: 15.77 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.805, allocations: 0 / 1.04 GB, free: 15.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003022/0.808, allocations: 1.004 MB / 1.041 GB, free: 14.77 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.8197, allocations: 9.043 MB / 1.05 GB, free: 5.625 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.006832/0.8266, allocations: 5.742 MB / 1.056 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.8266, allocations: 4.062 kB / 1.056 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004944/0.8315, allocations: 3.771 MB / 1.059 GB, free: 12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.8326, allocations: 251.1 kB / 1.059 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03894/0.8716, allocations: 30.83 MB / 1.09 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.8728, allocations: 1.271 MB / 1.091 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006609/0.8735, allocations: 355.4 kB / 1.091 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.874, allocations: 0.6047 MB / 1.092 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of SimCode: time 1.924e-06/0.874, allocations: 0 / 1.092 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4061/1.28, allocations: 80.65 MB / 1.171 GB, free: 291.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/9.356, allocations: 5.219 kB / 1.171 GB, free: 291.8 MB / 0.9167 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.424795172177255] Failed to read output from testmodel.py, exit status != 0: 9.457703919149935 9.467873145 8.937369953 Calling exit ...