Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.000793/0.000793, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008608/0.0008608, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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.9281/0.9281, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7066/0.7066, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.6181 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.072e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01618/0.01622, allocations: 21.81 MB / 0.6394 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008438/0.02465, allocations: 6.386 MB / 0.6456 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.02628, allocations: 127.1 kB / 0.6457 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002605/0.02888, allocations: 1.515 MB / 0.6472 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.03265, allocations: 1.99 MB / 0.6491 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.0355, allocations: 1.473 MB / 0.6506 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005972/0.04147, allocations: 7.024 MB / 0.6574 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.0456, allocations: 3.735 MB / 0.6611 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004471/0.05007, allocations: 4.015 MB / 0.665 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.05326, allocations: 3.398 MB / 0.6683 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.05378, allocations: 0.5234 MB / 0.6688 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.05523, allocations: 1.139 MB / 0.67 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001534/0.05677, allocations: 2.662 MB / 0.6726 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.05808, allocations: 1.758 MB / 0.6743 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.2883/0.3464, allocations: 8.682 MB / 0.6827 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3464, allocations: 0 / 0.6827 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3464, allocations: 1.844 kB / 0.6827 GB, free: 64.12 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001649/0.3466, allocations: 2.938 kB / 0.6828 GB, free: 64.12 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.004348/0.3509, allocations: 4.427 MB / 0.6871 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.351, allocations: 10.94 kB / 0.6871 GB, free: 62.32 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004806/0.3515, allocations: 0.5745 MB / 0.6876 GB, free: 62.26 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00409/0.3555, allocations: 1.712 MB / 0.6893 GB, free: 62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.3583, allocations: 2.668 MB / 0.6919 GB, free: 61.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.3584, allocations: 276 kB / 0.6922 GB, free: 61.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003911/0.3588, allocations: 364.8 kB / 0.6925 GB, free: 61.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006582/0.3654, allocations: 7.707 MB / 0.7001 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/0.3654, allocations: 17.41 kB / 0.7001 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.3658, allocations: 159.5 kB / 0.7002 GB, free: 60.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003098/0.3661, allocations: 496.4 kB / 0.7007 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005135/0.3712, allocations: 5.694 MB / 0.7063 GB, free: 58.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.3907, allocations: 20.52 MB / 0.7263 GB, free: 46.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.3929, allocations: 2.019 MB / 0.7283 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/0.3955, allocations: 2.098 MB / 0.7303 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.3956, allocations: 14.56 kB / 0.7303 GB, free: 45.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3957, allocations: 60.83 kB / 0.7304 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=146): time 3.486e-06/0.3957, allocations: 1.531 kB / 0.7304 GB, free: 45.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=251): time 0.1398/0.5355, allocations: 76.72 MB / 0.8053 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5355, allocations: 77.41 kB / 0.8054 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.537, allocations: 1.697 MB / 0.807 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.5372, allocations: 65.7 kB / 0.8071 GB, free: 7.164 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007034/0.5379, allocations: 1.797 MB / 0.8089 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004935/0.5384, allocations: 0.8835 MB / 0.8097 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006075/0.539, allocations: 481.4 kB / 0.8102 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.5391, allocations: 309.1 kB / 0.8105 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002732/0.5418, allocations: 2.734 MB / 0.8132 GB, free: 0.9688 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/0.5445, allocations: 3.331 MB / 0.8164 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005705/0.5502, allocations: 6.392 MB / 0.8226 GB, free: 6.836 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.5502, allocations: 4 kB / 0.8227 GB, free: 6.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.01925/0.5695, allocations: 14.41 MB / 0.8367 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5695, allocations: 15.98 kB / 0.8367 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5696, allocations: 23.56 kB / 0.8368 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01606/0.5856, allocations: 9.184 MB / 0.8457 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008891/0.5865, allocations: 296.8 kB / 0.846 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0488/0.6353, allocations: 51.04 MB / 0.8959 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.637, allocations: 227.7 kB / 0.8961 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.6372, allocations: 100 kB / 0.8962 GB, free: 11.23 MB / 0.7448 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00206/0.6393, allocations: 1.589 MB / 0.8977 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/0.6395, allocations: 254.6 kB / 0.898 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01997/0.6595, allocations: 14.47 MB / 0.9121 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.6595, allocations: 28 kB / 0.9121 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000131/0.6597, allocations: 44 kB / 0.9122 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/0.6597, allocations: 11.95 kB / 0.9122 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/0.6864, allocations: 19.52 MB / 0.9312 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.6864, allocations: 7.938 kB / 0.9312 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.6869, allocations: 163.8 kB / 0.9314 GB, free: 7.047 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01648/0.7034, allocations: 8.98 MB / 0.9402 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003796/0.7037, allocations: 48 kB / 0.9402 GB, free: 14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3441/1.048, allocations: 50.58 MB / 0.9896 GB, free: 266 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.048, allocations: 12.5 kB / 0.9896 GB, free: 266 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.067, allocations: 14.08 MB / 1.003 GB, free: 264.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.068, allocations: 0.7831 MB / 1.004 GB, free: 264.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/1.069, allocations: 48.31 kB / 1.004 GB, free: 264.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/1.07, allocations: 211.9 kB / 1.004 GB, free: 264.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00106/1.071, allocations: 254.3 kB / 1.005 GB, free: 264.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/1.071, allocations: 70.78 kB / 1.005 GB, free: 264.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001074/1.072, allocations: 1.129 MB / 1.006 GB, free: 264 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/1.072, allocations: 0 / 1.006 GB, free: 264 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003647/1.076, allocations: 1.614 MB / 1.007 GB, free: 263.9 MB / 0.823 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02196/1.098, allocations: 14.69 MB / 1.022 GB, free: 259.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.111, allocations: 10.18 MB / 1.032 GB, free: 256.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.111, allocations: 1.219 kB / 1.032 GB, free: 256.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009909/1.121, allocations: 6.994 MB / 1.038 GB, free: 253.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.123, allocations: 0.5586 MB / 1.039 GB, free: 253.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06387/1.187, allocations: 50.6 MB / 1.088 GB, free: 212.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/1.189, allocations: 2.677 MB / 1.091 GB, free: 209.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0007992/1.19, allocations: 397.7 kB / 1.091 GB, free: 209.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/1.191, allocations: 1.461 MB / 1.093 GB, free: 207.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.282e-06/1.191, allocations: 0 / 1.093 GB, free: 207.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/1.332, allocations: 129.4 MB / 1.219 GB, free: 79.24 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/10.88, allocations: 5.594 kB / 1.219 GB, free: 79.24 MB / 0.823 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.818200315348804] Failed to read output from testmodel.py, exit status != 0: 11.007894454523921 11.015198252 10.667111689 Calling exit ...