Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.3104/0.3104, allocations: 80.24 MB / 99.33 MB, free: 5.551 MB / 90.72 MB " [Timeout remaining time 180] 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.0007768/0.0007768, allocations: 82.92 kB / 129.3 MB, free: 7.797 MB / 122.7 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.0009473/0.0009473, allocations: 162.9 kB / 159.4 MB, free: 8.945 MB / 122.7 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.829/0.829, allocations: 177.1 MB / 366.5 MB, free: 4 kB / 282.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/package.mo): time 0.4082/0.4082, allocations: 60.88 MB / 0.4986 GB, free: 8.047 MB / 426.7 MB " [Timeout remaining time 179] Using package OpenIMDML with version 1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIMDML main/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) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Running command: "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM,fileNamePrefix="OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.6742 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.193e-05, allocations: 3.969 kB / 0.6742 GB, free: 48.47 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM): time 0.002304/0.002316, allocations: 3.651 MB / 0.6778 GB, free: 44.8 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.00361, allocations: 1.24 MB / 0.679 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.003759, allocations: 4 kB / 0.679 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.003985, allocations: 138.8 kB / 0.6792 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003029/0.004288, allocations: 282 kB / 0.6794 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.004919, allocations: 0.5495 MB / 0.68 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.005287, allocations: 0.8914 MB / 0.6808 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.005441, allocations: 101.2 kB / 0.6809 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.005746, allocations: 0.5027 MB / 0.6814 GB, free: 41.09 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.006049, allocations: 406.8 kB / 0.6818 GB, free: 40.69 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.006104, allocations: 68 kB / 0.6819 GB, free: 40.62 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.006239, allocations: 139.8 kB / 0.682 GB, free: 40.49 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.00631, allocations: 191.2 kB / 0.6822 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.006416, allocations: 247.2 kB / 0.6824 GB, free: 40.06 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.006865, allocations: 0.9301 MB / 0.6833 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006868, allocations: 4 kB / 0.6833 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.006869, allocations: 0 / 0.6833 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.006875, allocations: 0 / 0.6833 GB, free: 39.12 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002209/0.009084, allocations: 1.514 MB / 0.6848 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.009117, allocations: 12.03 kB / 0.6848 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.102e-05/0.009178, allocations: 86.7 kB / 0.6849 GB, free: 37.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.0103, allocations: 416 kB / 0.6853 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.0107, allocations: 471.7 kB / 0.6858 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-05/0.01078, allocations: 130.1 kB / 0.6859 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.01084, allocations: 44 kB / 0.6859 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.0115, allocations: 0.6698 MB / 0.6866 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.01151, allocations: 3.984 kB / 0.6866 GB, free: 35.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.788e-05/0.01155, allocations: 16 kB / 0.6866 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.01156, allocations: 8 kB / 0.6866 GB, free: 35.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.01222, allocations: 0.6285 MB / 0.6872 GB, free: 35.05 MB / 0.5105 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.001554/0.01377, allocations: 1.454 MB / 0.6886 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.0144, allocations: 0.5705 MB / 0.6892 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.01485, allocations: 431.5 kB / 0.6896 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.396e-05/0.0149, allocations: 4.656 kB / 0.6896 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.318e-05/0.01491, allocations: 39.22 kB / 0.6896 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=64): time 1.763e-06/0.01491, allocations: 0 / 0.6896 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64): time 0.006935/0.02185, allocations: 3.822 MB / 0.6934 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.02187, allocations: 85.77 kB / 0.6935 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.02218, allocations: 0.5379 MB / 0.694 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.02221, allocations: 33.7 kB / 0.694 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.0223, allocations: 277.5 kB / 0.6943 GB, free: 27.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.02239, allocations: 234 kB / 0.6945 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.0225, allocations: 94.3 kB / 0.6946 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.02255, allocations: 374.8 kB / 0.695 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.02297, allocations: 373.1 kB / 0.6953 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.0234, allocations: 470.6 kB / 0.6958 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008935/0.02429, allocations: 0.8475 MB / 0.6966 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.0243, allocations: 0 / 0.6966 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005571/0.02987, allocations: 2.927 MB / 0.6994 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.02989, allocations: 4 kB / 0.6994 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.0299, allocations: 4 kB / 0.6994 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.03407, allocations: 1.831 MB / 0.7012 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.0342, allocations: 63.91 kB / 0.7013 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/0.04413, allocations: 8.04 MB / 0.7092 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.04447, allocations: 83.61 kB / 0.7092 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.0445, allocations: 20 kB / 0.7092 GB, free: 12.14 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.04465, allocations: 173.8 kB / 0.7094 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.04473, allocations: 71.56 kB / 0.7095 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.0488, allocations: 2.537 MB / 0.712 GB, free: 9.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.04881, allocations: 8 kB / 0.712 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.04881, allocations: 11.98 kB / 0.712 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.04882, allocations: 3.938 kB / 0.712 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.05342, allocations: 3.208 MB / 0.7151 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.05342, allocations: 4 kB / 0.7151 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.05361, allocations: 63.91 kB / 0.7152 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.0557, allocations: 1.167 MB / 0.7163 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.05573, allocations: 12 kB / 0.7163 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/0.06188, allocations: 5.469 MB / 0.7217 GB, free: 15.22 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.06188, allocations: 0 / 0.7217 GB, free: 15.22 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/0.06705, allocations: 3.207 MB / 0.7248 GB, free: 11.99 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.858e-05/0.06713, allocations: 75.47 kB / 0.7249 GB, free: 11.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.06719, allocations: 15.94 kB / 0.7249 GB, free: 11.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.06752, allocations: 47.95 kB / 0.7249 GB, free: 11.85 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.06774, allocations: 132.4 kB / 0.7251 GB, free: 11.72 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.06777, allocations: 20 kB / 0.7251 GB, free: 11.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.0002858/0.06805, allocations: 378.8 kB / 0.7254 GB, free: 11.33 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7e-08/0.06805, allocations: 0 / 0.7254 GB, free: 11.33 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0006136/0.06866, allocations: 271.8 kB / 0.7257 GB, free: 11.07 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (Inf.delta,Inf.eq,SPIM.s,Inf.omega) * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,14,44.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005346/0.07401, allocations: 3.764 MB / 0.7294 GB, free: 7.273 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.07618, allocations: 1.41 MB / 0.7308 GB, free: 5.852 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.07618, allocations: 4 kB / 0.7308 GB, free: 5.848 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.07752, allocations: 0.9156 MB / 0.7317 GB, free: 4.918 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.07791, allocations: 58.3 kB / 0.7317 GB, free: 4.859 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.09378, allocations: 10.24 MB / 0.7417 GB, free: 10.46 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.09396, allocations: 309.9 kB / 0.742 GB, free: 10.13 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.09407, allocations: 44.56 kB / 0.742 GB, free: 10.09 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.09429, allocations: 232.4 kB / 0.7423 GB, free: 9.859 MB / 0.5418 GB Notification: Performance of SimCode: time 7.41e-07/0.09429, allocations: 112 / 0.7423 GB, free: 9.859 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.1264, allocations: 24.77 MB / 0.7665 GB, free: 1.328 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.276/8.402, allocations: 15.98 kB / 0.7665 GB, free: 1.312 MB / 0.5574 GB " [Timeout remaining time 652] (rm -f OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; mkfifo OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe ; head -c 1048576 < OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe >> ../files/OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.sim & python3 -m fmpy simulate --output-file OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 OpenIMDML_main_OpenIMDML_Examples_NonMultiDomainExamples_NonMultiDomainSinglePhaseInductionMotors_NonMultiDomainSPIM.fmu > OpenIMDML_main_OpenIMDML.Examples.NonMultiDomainExamples.NonMultiDomainSinglePhaseInductionMotors.NonMultiDomainSPIM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.307271726429462] Failed to read output from testmodel.py, exit status != 0: 8.499115457758307 8.509200076 8.499727568 Calling exit ...